Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web App deployment
Web App deployment [message #168560] Thu, 04 May 2006 18:16 Go to next message
Eclipse UserFriend
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 22:24 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1349
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:jBoss org.xml.sax.SAXException: No deserializer for [...]
Next Topic:Generatd Web Service Client
Goto Forum:
  


Current Time: Sat Sep 23 13:01:01 GMT 2017

Powered by FUDForum. Page generated in 0.06910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software