Jump to content
We've recently updated our Privacy Statement, available here ×

NoClassDefFoundError: org/jfree/chart/axis/...


arthur17

Recommended Posts

Could 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

Code:
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 wha?

Thanks alot

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...