2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: arthur17 - arthur17 NoClassDefFoundError: org/jfree/chart/axis/.. 2006-08-18 09:16Could any kind person tell me why I got this msg: java.lang.NoClassDefFoundError: org/jfree/chart/axis/ValueAxis I already put the jfreechart jar file to lib and I wrote " String jbossPath = SystemPreferences.getPreference("file/jboss.path", "unknown"); String path = jbossPath + File.separatorChar+"server" + File.separatorChar + "default" + File.separatorChar + "lib"+ File.separatorChar+ "jfreechart-0.9.21.jar"+File.pathSeparatorChar+ jbossPath + File.separatorChar+"server" + File.separatorChar + "default" + File.separatorChar + "lib"+ File.separatorChar+ "iReport.jar"+File.pathSeparatorChar+ jbossPath + File.separatorChar+"server" + File.separatorChar + "default" + File.separatorChar + "lib"+ File.separatorChar+ "jasperreports-0.6.0.jar"; System.setProperty("jasper.reports.compile.class.path", path); System.setProperty("java.awt.headless", "true"); " in my java file. The msg is very rediculous after i did those. Any body can tell me why? Thanks alot Link to comment Share on other sites More sharing options...
AngelaJKing Posted November 27, 2019 Share Posted November 27, 2019 java.lang.NoClassDefFoundError is runtime error thrown when a required class is not found in the classpath and hence JVM is unable to load it into memory. 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