Jump to content
We've recently updated our Privacy Statement, available here ×

Local report unit using scriptlet throws java.lang.NoClassDefFoundError when language = groovy, not with language = java


mlopez_1

Recommended Posts

Hi, I have a local report unit using scriptlet that throws java.lang.NoClassDefFoundError when language = groovy, not with language = java

My environment is: JSS 6.3.1, Windows 10 x64, java.version=1.8.0_92 (Java HotSpot 64-Bit Server VM)

I know there is a similar bug at: http://community.jaspersoft.com/jaspersoft-studio/issues/8446, but nothing solved until now.

The stacktrace is:

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during class generation: java.lang.NoClassDefFoundError: Unable to load class org.sescam.ati.explotacion.mxxireport.MxxiJrUtil due to missing dependency net/sf/jasperreports/engine/JRScriptletException

java.lang.RuntimeException: java.lang.NoClassDefFoundError: Unable to load class org.sescam.ati.explotacion.mxxireport.MxxiJrUtil due to missing dependency net/sf/jasperreports/engine/JRScriptletException
    at org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1091)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1069)

  ..

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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