• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Define property for JasperReports

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have problem whith generation PDF reports on Weblogic Server under Windows XP.
I get this Exception : java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
at weblogic.rmi.internal.ServerRequest.sendReceive .......

I saw on different topic that I have to set the "jasper.reports.compile.class.path" property. But my report are already in jasper format.
Do I have to use JRXML files and compile it (I have a lot of report) or can I set this property and use jasper file directly and that'll work ???
Do I have to define special command to the server ?

This same application causes another NoClassDefFoundError exception on a Weblogic server on linux (at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment). Could you confirm that I have to define the java.awt.headless property to true ?

Thank you.
Posts: 43011
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "od od"-

Welcome to JavaRanch.

On your way in, you may have missed that JavaRanch has a policy on screen names, and yours does not conform to it. We take this policy seriously, so please adjust it here.

Thanks, and enjoy your time here.
[ December 03, 2005: Message edited by: Ulf Dittmer ]
I just had the craziest dream. This tiny ad was in it.
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!