Jump to content

java.lang.NoClassDefFoundError


mcc_gagan_jasper

Recommended Posts

Whenever i want to fill my report in my java class, i am getting this error :

 

java.lang.NoClassDefFoundError: org/apache/commons/collections/ReferenceMap

at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.<clinit>(JRAbstractJavaCompiler.java:58)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

 

All the classes that comes with ireports are in classpath. Please help it is very urgent.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

hi mcc_gagan_jasper

 

 

The problem is commons-collections jar file only. Use latest jar file and delete old jar file from classpath. I've faced the same problem a couple of times, later I resolved this problem by replacing the old jar file with new jar file.

 

 

DNV Srikanth

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...