Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Republish does not work (static resources)
Republish does not work (static resources) [message #776082] Sat, 07 January 2012 06:49 Go to previous message
Paul Pentosa is currently offline Paul Pentosa
Messages: 3
Registered: January 2012
Junior Member
When i run my webapp in eclipse i get an 404 error as soon as i call the dispatcher Servlet. First i thought there must be something wrong in the code but everthing seemed to be fine.

I looked up the org.eclipse.wst.server.core and the classes folder of the wtpwebapps was empty, so it's clear that Tomcat can't find the class file.

I exported the project as a war file and deployed it with the manager app of the tomcat gui. This time it worked without a problem. After that i tried it again in eclipse and here it worked, too. So i again looked up the classes folder in wtpwebapps and found the comiled servlets.

Update:

it happens that the content of my dynamic web project does not get published correctly. The web module and the server are marked as "Synchronized", but only partial content is deployed to wtpwebapps. I have to remove the project from the server, then do a rightclick --> Build Project and add again the web module to fix the problem.

When i modify a jsp, i immediately see in the servers tab that tomcat republishes. If i do the same with servlet no change takes place in the tab.

So why does Tomcat not republishes the static resources ?

I am new to java/webapplications and eclipse, so please tell me what i'm doing wrong.

Thank you in advance,

Paul Pentosa
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Configure existing TOMCAT project
Next Topic:Graceful shutdown of Tomcat - How?
Goto Forum:
  


Current Time: Wed May 22 01:57:39 EDT 2013

Powered by FUDForum. Page generated in 0.02359 seconds