2006 IR Open Discussion Posted August 19, 2006 Share Posted August 19, 2006 By: Firedragon - firedragon852 NoClassDefFoundError using different JDK's 2003-09-29 03:06 I am trying to run jasperreports from within a web app (jboss/tomcat). Using the IBM JDK 1.4.1, I got the error from the servlet container: java.lang.NoClassDefFoundError: dori/jasper/engine/JRDataSource Using the Sun JDK 1.4.2, I got: java.lang.NoClassDefFoundError: dori/jasper/engine/JRReportFont I have put jasperreport-0.5.0.jar in WEB-INF/lib in my war archive and check many times that the jasperreports-0.5.0.jar is indeed there. Am I missing something really obvious? My web app uses other classes from WEB-INF/lib and it works fine. By: Adam Silverthorne - doog2112 RE: NoClassDefFoundError using different JDK' 2003-10-01 18:18 What is your deployment platform? If it is Unix, you could be getting an X server error if you are not running an X server and you are using java.awt, for example if you are using JFreeChart. Check you logs for exceptions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now