BeanExpressionResolver NoClassDefFoundError

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 NoClassDefFoundError
BeanExpressionResolver NoClassDefFoundError  Hi, How to solve following error: java.lang.NoClassDefFoundError: org/springframework/beans/factory/config/BeanExpressionResolver Thanks
NoClassDefFoundError: Could not initialize class com.net.plugin.HibernatePlugIn - Struts
NoClassDefFoundError: Could not initialize class com.net.plugin.HibernatePlugIn  Could not initialize class com.net.plugin.HibernatePlugIn... But its giving error such like NoClassDefFoundError: Could not initialize class
Advertisements
noclassdeffounderror: org/apache/http/client/methods/httpurirequest
noclassdeffounderror: org/apache/http/client/methods/httpurirequest  Hi, One of my application is throwing following error: noclassdeffounderror: org/apache/http/client/methods/httpurirequest How to resolve this? Thanks  
ClassPath Helper
ClassNotFoundException or NoClassDefFoundError. The rules for for classloading are well documented... to fail with the well known ClassNotFoundException or NoClassDefFoundError
JAVA
JAVA  I got the error like NoClassDefFoundError Formdata1(my file name) as the wrong name
JAVA
JAVA  I got the error like NoClassDefFoundError Formdata1(my file name) as the wrong name
Jasperreport
Jasperreport  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
How to set memory used by JVM in Ant
to diagnose. For NoClassDefFoundError, the problem was fixed by setting fork
java, plz help me in doing this - Java Beginners
..giving me the error of NoClassDefFoundError

Ads