G
George
I am working on a web application with a bunch of jsp files using some
java classes. I am using tomcat 5.5. I have a special class file, say
a.class, sit in the web-inf/classes. This class import another two
jars, say b.jar and c.jar. The jsp file will import a and does not
use b and c. How should I organize them for a war file in server?
I actually write a.java with the jsp file in a web project in netbean
5.5. And the created war file put b.jar and c.jar in web-inf/lib. But
when I deploy the war file, I keep get the
"java.lang.NoClassDefFoundError: org/kowari/itql/ItqlInterpreterBean"
(this is a class in b.jar). I test compiling all the jsp in compile
and it works. I suppose you can specify these classpath related
information somewhere in web-application directory. How to put
everything? Thank you.
java classes. I am using tomcat 5.5. I have a special class file, say
a.class, sit in the web-inf/classes. This class import another two
jars, say b.jar and c.jar. The jsp file will import a and does not
use b and c. How should I organize them for a war file in server?
I actually write a.java with the jsp file in a web project in netbean
5.5. And the created war file put b.jar and c.jar in web-inf/lib. But
when I deploy the war file, I keep get the
"java.lang.NoClassDefFoundError: org/kowari/itql/ItqlInterpreterBean"
(this is a class in b.jar). I test compiling all the jsp in compile
and it works. I suppose you can specify these classpath related
information somewhere in web-application directory. How to put
everything? Thank you.