Can't use the libraries in jsp

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Gin

Can't use the libraries in jsp

Post by Gin » Wed Jun 12, 2002 2:16 pm

Hi

I'm having a problem using JFreeChart with my jsp pages.

I've extracted my files in the following directory:
C:\java\classes

so the jars were located in the following directory:
C:\java\classes\jfreechart-0.9.0\jars\

so in my class path i have added the following:
c:\java\classes\jfreechart-0.9.0\jars\jcommon-0.6.2;
c:\java\classes\jfreechart-0.9.0\jars\jfreechart-0.9.0;
c:\java\classes\jfreechart-0.9.0\jars\jfreechart-0.9.0-demo;

Then I specified the libraries in JCreator. I am able to build applications (compile and run my code) and use the libraries. Then I've tried making a bean with the libraries. I've successfully compiled the bean. But when I tried using the bean in my page I got the following error:

java.lang.NoClassDefFoundError: com/jrefinery/data/IntervalCategoryDataset

I've made beans before, and I've made sure that they are in the proper folder in my server (Resin btw). Can anyone point out what I'm doing wrong?

Gin

Got it

Post by Gin » Wed Jun 12, 2002 11:54 pm

Whoops my bad I forgot the .jar extensions for each library

Locked