How to change default Eclipse WTP "Web Resources" dynamic folder

Viewed 20646

I need to change the default Eclipse WTP "Web Resources" dynamic folder. Currently it points to WebContent, and I need to point to src\main\webapp.

6 Answers

In my case the problem was that the jsp located in resources/templates were not found

The solution has been to change

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>

by the following

<wb-resource deploy-path="/" source-path="/src/main/resources"/>

That is, modifying the file

.settings\org.eclipse.wst.common.component
Related