Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError
2016-08-04 00:42
597 查看
在maven项目中调用了一个类,没有报异常。但是运行的时候报出来Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError。
原因是这个类存在依赖。
将其引入pom解决问题。
原因是这个类存在依赖。
将其引入pom解决问题。
相关文章推荐
- spring quartz:Instantiation of bean failed; nested exception is java.lang.IncompatibleClassChangeErr 分类: Java spring 2015-01-07 19:00 437人阅读 评论(0) 收藏
- dubbo-Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
- spring quartz:Instantiation of bean failed; nested exception is java.lang.IncompatibleClassChangeErr
- spring quartz:Instantiation of bean failed; nested exception is java.lang.IncompatibleClassChangeErr 分类: Java spring 2015-01-07 19:00 438人阅读 评论(0) 收藏
- Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExce
- Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm
- Initialization of bean failed; nested exception is java.lang.StackOverflowError
- Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weave
- Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: null
- 解决:Initialization of bean failed; nested exception is java.lang.AbstractMethodError
- Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep
- Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep
- 在使用hibernate 和spring 构架的框架中如果出现Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm
- Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.Cl
- Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep
- HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen
- Spring MVC集成thymeleaf时提示:defined in ServletContext resource [/WEB-INF/SrpingMVCTest-servlet.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException
- Invocation of init method failed; nested exception is java.lang.NoSuchMethodError:
- Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/
- Invocation of init method failed; nested exception is java.lang.NoSuchMethodError