I am currently trying to build a simple JR sample including a scriptlet. Adding the scriptlet's JAR to my workspace works and allows me to use the class contained in the JAR as a value for a scriptlet that I added to the report. However, when I try to run the report, I get "net.sf.jasperreports.engine.JRException: Error loading scriptlet class: " This is accompanied by "Caused by: java.lang.ClassNotFoundException: cannot be found by net.sf.jasperreports_7.2.1.final"
For whatever reason, sometimes it works without making any changes to the workspace/classpath. I'll attach the JAR that I have been using for tests.
Recommended Comments