Initialization of bean failed; nested exception is java.lang.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Initialization of bean failed; nested exception is java.lang.相关的知识,希望对你有一定的参考价值。

 

网上搜寻各种解说,applicationContext-hibernate.xml 配置错误,jar冲突等等

现场错误图:

解决方法:

asm-attrs.jar

cglib-nodep-2.1_3.jar

放在WEB-INF/lib 文件,其他cglib-nodep-2.1_3.jar替换掉cglib-2.1.jar版本即可

再次部署启动即可不报错误;

以上是关于Initialization of bean failed; nested exception is java.lang.的主要内容,如果未能解决你的问题,请参考以下文章

Initialization of bean failed; nested exception is java.lang.

Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/jms/JMSCont

QA:Initialization of bean failed; nested exception is java.lang.AbstractMethodError

spring Boot启动报错Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.s

Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm

在使用hibernate 和spring 构架的框架中如果出现Initialization of bean failed; nested exception is java.lang.NoSuchMe