Jump to content

Why do I get the error java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.DefaultJasperReportsContext at run time


Recommended Posts

Posted

I upgraded to jasperreports 6.1.0 and now I get the error "java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.DefaultJasperReportsContext" at run time.  This class does exists.  

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

When I run my java application through netbeans, it works fine.  then when I build and sign my jar and run on server I get this error.  Do you know why is it that when I was using a previous jasper library version I did not have this problem?

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...