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

suhaza_86

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by suhaza_86

  1.  

    import net.sf.jasperreports.engine.JRDefaultScriptlet;import net.sf.jasperreports.engine.JRScriptletException;

    public class MyScriptlet extends JRDefaultScriptlet

    Here are the errors I found in iReport console:

    Error compiling the report java source! java.lang.UnsupportedClassVersionError: Bad version number in .class file

     

    Below are some steps that I after searching the fix on the internet.

     

     1. Ensure JDK Compliance in Eclipse Luna is set to 1.6

     2. Add below jar in the java project:

    commons-beanutils-1.8.2.jar     

    commons-collections-3.2.1.jar    

    commons-digester-1.7.jar     

    commons-logging-1.1.jar    

    jasperreports-3.7.3.jar     

    jfreechart-1.0.12.jar    

    jcommon-1.0.15.jar     

    commons-javaflow-20060411.jar

     

    I also tried to test adding a scriptlet using CustomBarcode Jar from the internet, and my iReport does not throws any errors.

     

    Please help me fix this issue.

     

×
×
  • Create New...