
警告: 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
AOP切点表达式写错了,报的是DataSource空指针??喵喵???
出现这种错误多半是标签的问题,要细细检查一下