Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

classpath for web-application.

Thread view: 
George - 13 Nov 2006 05:48 GMT
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.
Andrew Thompson - 13 Nov 2006 06:47 GMT
> 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.