zoukankan      html  css  js  c++  java
  • 警告: Exception encountered during context initialization

    警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bookShopService' defined in class path resource [tx.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.sun.proxy.$Proxy10 implementing com.figsprite.spring.BookShopDao,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised,org.springframework.core.DecoratingProxy' to required type 'com.figsprite.spring.BookShopDaoImpl' for property 'bookShopDao'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'com.sun.proxy.$Proxy10 implementing com.figsprite.spring.BookShopDao,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised,org.springframework.core.DecoratingProxy' to required type 'com.figsprite.spring.BookShopDaoImpl' for property 'bookShopDao': no matching editors or conversion strategy found
    
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bookShopService' defined in class path resource [tx.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.sun.proxy.$Proxy10 implementing com.figsprite.spring.BookShopDao,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised,org.springframework.core.DecoratingProxy' to required type 'com.figsprite.spring.BookShopDaoImpl' for property 'bookShopDao'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'com.sun.proxy.$Proxy10 implementing com.figsprite.spring.BookShopDao,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised,org.springframework.core.DecoratingProxy' to required type 'com.figsprite.spring.BookShopDaoImpl' for property 'bookShopDao': no matching editors or conversion strategy found
    View Code

      AOP切点表达式写错了,报的是DataSource空指针??喵喵???

      出现这种错误多半是标签的问题,要细细检查一下

  • 相关阅读:
    [笔记]一道C语言面试题:IPv4字符串转为UInt整数
    linux内核代码注释 赵炯 第三章引导启动程序
    bcd码
    2章 perl标量变量
    1章 perl入门
    perl第三章 列表和数组
    浮动 float
    文字与图像
    3.深入理解盒子模型
    4.盒子的浮动和定位
  • 原文地址:https://www.cnblogs.com/figsprite/p/10860325.html
Copyright © 2011-2022 走看看