Jump to content
Changes to the Jaspersoft community edition download ×

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


Recommended Posts

By: arthur17 - arthur17

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

2006-08-18 09:16

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 "

 

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

  • 13 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...