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

Sample reports not working in JasperServe 8.0 works fine in JasperServer 7.5


bansal.vimal

Recommended Posts

 

Hello,

I have a very simple report which make use of a scriplet method. Report works fine with JSS 7.1 I published the report to the Jasper Server 8.0 and getting below exception while executing the rport from Server.

The same report works fine in JasperServer 7.5. It seems Jasper Server 8.0 Not finding the Java Jars I have uploded to the Server.

If i place the jar in servers WEB-INF/lib directory it works fine. 

Please help me to resolve this issue it seems something has changed in JasperServer 8.0

Thanks

Vimal

 

Error Message

Errors were encountered when compiling report expressions class file: 1. TestScriplet cannot be resolved to a type value = "FAR " +((TestScriplet)parameter_Scriptlet_1_SCRIPTLET.getValue()).CelceiusToFahrenheit(); //$JR_EXPR_ID=10$ <----------> 2. TestScriplet cannot be resolved to a type value = "FAR " +((TestScriplet)parameter_Scriptlet_1_SCRIPTLET.getValue()).CelceiusToFahrenheit(); //$JR_EXPR_ID=10$ <----------> 3. TestScriplet cannot be resolved to a type value = "FAR " +((TestScriplet)parameter_Scriptlet_1_SCRIPTLET.getValue()).CelceiusToFahrenheit(); //$JR_EXPR_ID=10$ <----------> 3 errors .

Error Trace

com.jaspersoft.jasperserver.api.ErrorDescriptorException: Errors were encountered when compiling report expressions class file: 1. TestScriplet cannot be resolved to a type value = "FAR " +((TestScriplet)parameter_Scriptlet_1_SCRIPTLET.getValue()).CelceiusToFahrenheit(); //$JR_EXPR_ID=10$ <----------> 2. TestScriplet cannot be resolved to a type value = "FAR " +((TestScriplet)parameter_Scriptlet_1_SCRIPTLET.getValue()).CelceiusToFahrenheit(); //$JR_EXPR_ID=10$ <----------> 3. TestScriplet cannot be resolved to a type value = "FAR " +

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