classpath for web-application.

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

Andrew Thompson

George said:
I am working ...

...to post to each comp.lang.java hierarchy,
usenet newsgroup?

Please refrain from multi-posting.

(X-post to c.l.j.p./h., w/ f-u to c.l.j.h. only)

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top