org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
很是郁闷,既然提示我dataSource配置错误.....
搞了半天,终于解决..原来是transaction 的问题
<aop:config>
<aop:advisor pointcut="execution(public * *(..))" advice-ref="txAdvice"/>
</aop:config>
pointcut配置为 全匹配就为出行上面的异常.....
我做一下修改就ok了:
<aop:config>
<aop:advisor pointcut="execution(public * com.li.service.*.*(..))" advice-ref="txAdvice"/>
</aop:config>
分享到:
相关推荐
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionInterceptor#0': Error setting property values; nested ...
spring boot exception handler.zip
NULL 博文链接:https://chyy001.iteye.com/blog/1338488
NULL 博文链接:https://latex.iteye.com/blog/900664
Maven坐标:org.springframework:spring-beans:5.0.10.RELEASE; 标签:spring、beans、springframework、jar包、java、API文档、中文版; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可...
org.springframework.beans-3.1.0.M2
org.springframework.flex-1.0.3.RELEASE.jar.zip用于JAR包,org.springframework.flex-1.0.3.RELEASE.jar.zip用于JAR包org.springframework.flex-1.0.3.RELEASE.jar.zip用于JAR包org.springframework.flex-1.0.3....
Maven坐标:org.springframework:spring-beans:5.2.0.RELEASE; 标签:springframework、spring、beans、中英对照文档、jar包、java; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览...
org.springframework.beans-sources-3.0.5.release.jar
org.springframework.beans-3.0.5工程所需jar包,com.springsource.net.sf.cglib-2.2.0.jar、 com.springsource.org.apache.commons.logging-1.1.1.jar、 javax.inject.jar、 javax.servlet.jsp.jar、 org.spring...