BeanExpressionResolver NoClassDefFoundError
Hi,
How to solve following error:
java.lang.NoClassDefFoundError: org/springframework/beans/factory/config/BeanExpressionResolver
Thanks
View Answers
June 19, 2011 at 9:18 PM
java.lang.NoClassDefFoundError is very common error yet takes some time to find the exact culprit and solution. if you are getting this then there must is a class which was present when you compile the code and got linked and now its not there when you trying to run, Its not easy to fix this problem because question which needs to be answer is why that class is not present now ? by the way you can follow some approach as suggested
January 3, 2016 at 12:45 AM
This is because of incorrect Spring-Beans JRe. If you are using Maven, go to pom.xml, remove the spring-beans and add the version related to that of spring-core and spring-context. In my case, spring-beans was 1.2.x and others are 4.2.4. So I deleted spring-beans and added spring-beans 4.2.4 and resolved.
Related Tutorials/Questions & Answers:
BeanExpressionResolver NoClassDefFoundErrorBeanExpressionResolver NoClassDefFoundError Hi,
How to solve following error:
java.lang.NoClassDefFoundError: org/springframework/beans/factory/config/
BeanExpressionResolver
Thanks
Advertisements
ClassPath Helper ClassNotFoundException
or
NoClassDefFoundError.
The rules for for classloading are well documented... to fail
with the well known ClassNotFoundException or
NoClassDefFoundError JAVAJAVA I got the error like
NoClassDefFoundError Formdata1(my file name) as the wrong name
JAVAJAVA I got the error like
NoClassDefFoundError Formdata1(my file name) as the wrong name
JasperreportJasperreport Hai sir,
Here am getting
NoClassDefFoundError error,but i already included itext.jar to my class path.
JRExporter exporter = new JRPdfExporter();
ErrorDetails:
run:
Exception in thread "main