• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

scriptlet class not found while running jasper from eclipse

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey guys,
i have a scriptlet class called "com.tdsecurities.overage.report.DailyReportScriptlet"

when i try to use it in my report on a field i get the following exception

java.lang.ClassNotFoundException: com.tdsecurities.overage.report.DailyReportScriptlet
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at dori.jasper.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:115)
at dori.jasper.engine.fill.JRBaseFiller.loadScriptlet(JRBaseFiller.java:573)
at dori.jasper.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:314)
at dori.jasper.engine.fill.JRVerticalFiller.<init>..........


ALL my classes compile but some thing happens at run time due to which it cant find it . I am using sunshine plugin for eclipse 3.0 .I have tried combinations of setting class paths like putting.jasper file in bin directory , setting system class path to eclipse bin,copying .jasper and scriptlet class in same directory etc ...but doesnt seem to help. I know its some thing to do with eclipse setting of run time class path but cant figure out any help will be appreicated.
thanks
ahmad
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since this is most likely an Eclipse setup issue, I'll move this along to the IDE's forum where the Eclipse-savvy hang out.
 
reply
    Bookmark Topic Watch Topic
  • New Topic