Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Web App deployment
Web App deployment [message #168560] Thu, 04 May 2006 14:16 Go to next message
Eclipse User
Originally posted by: gwcortes.gmail.com

Hello,

I have created a dynamic app with external jar files. When I run my
servlet I receive de error: java.lang.NoClassDefFoundError . The only way
I could find to correct this is to copy my jar files to the folder
C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib . Is
there a better solution?

Thanks
Re: Web App deployment [message #168590 is a reply to message #168560] Thu, 04 May 2006 18:24 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1299
Registered: July 2009
Senior Member
There are a few ways you can "add external jar files". Some right, some
wrong, and unfortunately, some with bugs. If you explain in more
detail, I'll try to figure out which. Note, the most reliable way to
include external jars in the webapp is to import them into the
<WebContent>/WEB-INF/lib folder of your project.

Cheers,
Larry

Duck wrote:
> Hello,
>
> I have created a dynamic app with external jar files. When I run my
> servlet I receive de error: java.lang.NoClassDefFoundError . The only
> way I could find to correct this is to copy my jar files to the folder
> C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib . Is
> there a better solution?
> Thanks
>
Previous Topic:Where does WTP look for "Web App Libraries"?
Next Topic:Exeptions when exporting war file
Goto Forum:
  


Current Time: Tue Jul 29 06:47:47 EDT 2014

Powered by FUDForum. Page generated in 0.08440 seconds