I have a servlet .  I want to use classes from a jar (torque-3.1.jar)

How / where do I add that jar to the classpath so the classloader can find them?  I am 
getting:

java.lang.NoClassDefFoundError: org/apache/torque/Torque

        at com.sun.ebank.web.Dispatcher.getData(Unknown Source)

        at com.sun.ebank.web.Dispatcher.doGet(Unknown Source)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

I am experimenting with tweaking the JBoss/Sun Dukes Bank example.  I may want to use 
Torque and was going to try a few things.

To use Velocity I just added the velocity related jars to the war and it worked.   My 
Torque jars are in the same place as the Velocity jars (WEB-INF/lib of the .war)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823351#3823351

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823351


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to