Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

scriptlet class not found while running jasper from eclipse  RSS feed

 
ahmad khawaja
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!