andre.wolff Posted June 24, 2016 Share Posted June 24, 2016 Hello,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, errorEin 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.0What could be wrong?Thanks,Andre Link to comment Share on other sites More sharing options...
hozawa Posted June 24, 2016 Share Posted June 24, 2016 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 More sharing options...
andre.wolff Posted June 24, 2016 Author Share Posted June 24, 2016 Thanks, you're wright. I thougt I had already changed Studio to 1.7, but I forgot to recompile one class. Now it works fine. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now