Jump to content

deploy scriptlet on server


Recommended Posts


I'm a complete newbie not to Jasper Reports but to Java. I made a report with a scriptlet that works in studio. How do I get it to work on the server? I put scriptlet and class in a jar that I deployed in report ressources. When I start the report I get the following error:

HTML response error code: 500, error

Ein interner Serverfehler ist aufgetreten. Wenden Sie sich an Ihren Systemadministrator.

Details: Handler processing failed; nested exception is java.lang.UnsupportedClassVersionError: scriptlet/MainReportScriptlet : Unsupported major.minor version 52.0

What could be wrong?




Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This usually mean you've used JDK1.8 to compile your scriptlet while your server is running on JDK1.7. The best solution is to version up JDK used by your server to use JDK1.8. You haven't mentioned which application server you're using nor about your OS so this is about all I can say.

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