Jars for running dynamic web app [message #225038] |
Fri, 12 December 2008 14:50  |
Eclipse User |
|
|
|
Hello, I am using Eclipse 3.4.0 and a dynamic web project. I've created a
Tomcat 6 server from within Eclipse. But when I run my project ('Run on
Server'), the libraries that are on the build path for compiling are not
available on the server. I guess I'm assuming that deploying on the server
would place these libraries in WEB-INF/lib, but it doesn't seem to be
doing that. What is the right way to get this going?
|
|
|
|
Re: Jars for running dynamic web app [message #225216 is a reply to message #225038] |
Fri, 12 December 2008 16:49  |
Eclipse User |
|
|
|
Guy Mac wrote:
> Hello, I am using Eclipse 3.4.0 and a dynamic web project. I've created
> a Tomcat 6 server from within Eclipse. But when I run my project ('Run
> on Server'), the libraries that are on the build path for compiling are
> not available on the server. I guess I'm assuming that deploying on the
> server would place these libraries in WEB-INF/lib, but it doesn't seem
> to be doing that. What is the right way to get this going?
>
For a dynamic web project, build path != runtime path. You can use the
Java EE Module Dependencies page of the project's Properties dialog to
identify runtime dependencies. Also, you should find items in the
Problems view related to these jars. Using the Quick Fix for those
items will have the same effect as using the Java EE Module Dependencies
page.
For details about the Tomcat support in WTP, see
http://wiki.eclipse.org/WTP_Tomcat_FAQ.
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.03132 seconds