启动就报错,Error creating bean with name 'dataSource' defined in class path resource [config/spring/applicationContext.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice。
你这个是少了一个JAR包....com.springsource.org.aopalliance-1.0.0.jar 下载地址: http://sourceforge.net/projects/aopalliance/files/aopalliance/
本文介绍了一种常见的Spring框架中数据源配置错误,并提供了解决方案。错误表现为在启动时无法实例化dataSource Bean,原因是缺少必要的AOP Alliance JAR包。文章提供了正确的JAR包名称及下载链接。
1万+

被折叠的 条评论
为什么被折叠?



