eclipse not publishing again to tomcat server after removing and adding back the project

Many a time it happens that after removing a project from eclipse embedded server, once you try add back, the application does not get added properly. Some of the contents go missing while removing then adding adding the application back while eclipse publishes the application content into servers directory.

This causes 404 error on browser as the application is not loaded inside the container. To avoid this situation, proceed as following

1. Goto add/ remove option by right clicking on the server.


2. Select remove on subsequent screen.





3. Clean the server


Thereafter use option (1) to add back the application. This will ensure that application content are published successfully to server directory.

Comments

Popular posts from this blog

Caused by: java.sql.SQLTimeoutException: ORA-01013: user requested cancel of current operation

HashiCorp Vault Integration with Ansible Etower using approle

utility to extract date from text with java