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

ibrahim.baradji

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by ibrahim.baradji

  1. Hi all, I have a problem in generating a report that use a scriptlet on jasperserver but all work perfectly on ireport. below is the environment : apache-tomcat-5.5.26 iReport-5.6.0 jasperreports-server-cp-5.6.1 jdk1.7.0_80 I have copied the jar of the scriptlet in commonlib folder of tomcat. Also I putted there the jar of jasperreport 5.6.1. below is the structure of scriptlet java code : /** BEGIN JAVA CODE */ import net.sf.jasperreports.engine.JRAbstractScriptlet;import net.sf.jasperreports.engine.JRScriptletException; public class TestScriptlet extends JRAbstractScriptlet {***/** END JAVA CODE */ Below is the error log : Error creating scriptlet class instance : TestScriptlet com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.JRException: Error creating scriptlet class instance : TestScriptlet at ...net.sf.jasperreports.engine.JRException: Error creating scriptlet class instance : TestScriptlet...net.sf.jasperreports.engine.JRException: Error creating scriptlet class instance : TestScriptlet at ...java.lang.ClassCastException: TestScriptlet cannot be cast to net.sf.jasperreports.engine.JRAbstractScriptlet...java.lang.ClassCastException: TestScriptlet cannot be cast to net.sf.jasperreports.engine.JRAbstractScriptlet at... Please can you tell me what is wrong ? Thanks
×
×
  • Create New...