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空指针??喵喵???

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

  • 相关阅读:
    邮箱的第99封邮件,第1个Offer
    学校的多媒体网站也模仿Google改版了
    惠普:计算机在非洲大有可为(zz)
    PPLive是不错的东东
    Google增加反病毒功能
    开复给中国学生的第五封信 – 你有选择的权利(zz)
    Yahoo中国变脸?
    拟停止本Blog更新
    在FC4上装GT4.0
    Google CodeJam 中国编程挑战赛拉开帷幕
  • 原文地址:https://www.cnblogs.com/figsprite/p/10860325.html
Copyright © 2011-2022 走看看