BeanPostProcessor before instantiation of bean failed;启动tomcat是报错,找了很久了,求大神帮忙

蜕变若蛹化蝶 2014-10-22 02:54:08
求帮忙,万分感谢!在线等

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [applicationContext-core.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-core.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-core.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [applicationContext-core.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other classes in the same package
...全文
5906 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
humeifu 2018-06-24
  • 打赏
  • 举报
回复
我的是包导错了,把aspectj的包换成aspectjweaver的包就好了
蜕变若蛹化蝶 2014-10-22
  • 打赏
  • 举报
回复


可能存在冲突的jar包,劳烦帮忙看一下
shixitong 2014-10-22
  • 打赏
  • 举报
回复
Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other classes in the same package 看这边明显不匹配,目前只能推测是jar包有问题
蜕变若蛹化蝶 2014-10-22
  • 打赏
  • 举报
回复
引用 1 楼 shixitong 的回复:
把jar包截个图出来,看看有没有jar包冲突
jar包很多,截图看不全,先前网上看到过关于jar包冲突的,结果没有!谢谢,帮忙想想还有没有其它可能
shixitong 2014-10-22
  • 打赏
  • 举报
回复
把jar包截个图出来,看看有没有jar包冲突

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧