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 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: 1313
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: Sun Dec 21 10:10:11 GMT 2014

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

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