Jump to content
Changes to the Jaspersoft community edition download ×

java.lang.ClassNotFoundException in Jasper


ktrinad

Recommended Posts

By: kannan - lkannan

java.lang.ClassNotFoundException in Jasper

2004-11-09 10:51

java.lang.ClassNotFoundException: TestSubScriptlet

 

I am very new to jasper, I was playing with the design in IReport and I am running into a problem.

 

ava.lang.ClassNotFoundException: TestSubScriptlet

at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:219)

at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:116)

at net.sf.jasperreports.engine.fill.JRBaseFiller.loadScriptlet(JRBaseFiller.java:589)

at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:321)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:127)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:119)

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:151)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:353)

at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:274)

at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:242)

at gov.osfc.drawdown.reports.JasperClient.fillSubReport(JasperClient.java:184)

at gov.osfc.drawdown.reports.JasperClient.main(JasperClient.java:32)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

 

 

I am not sure , How I should approach this.thanks in advance for your help.

 

 

By: kannan - lkannan

RE: java.lang.ClassNotFoundException in Jasper

2004-11-09 11:21

Hi All,

As I was playing with the scriplet editor , it created a ScripletClass attribute in the <jasper Report> tag amd while I am compiling , it was always looking for TestSubScriptlet class.I removed that attribute and it is working fine now.

 

thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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