Search code examples
javaeclipsejakarta-eejetty

Eclipse deployment descriptor not found


I have a dynamic web project created in eclipse. I moved the location of the WebContent folder (to be located within the /src folder). However, the project still thinks that the directory is under /projectName/WEB-INF/ (I know this because when I try to open an element in the deployment descriptor it tells me that that path does not exist (it doesn't exist, but I need to have it point to the new location).

How can I point the build to the new location of the WebContent folder (and WEB-INF etc.)? Thanks.


Solution

  • Right click your dynamic web project -> Properties -> Deployment Assembly.

    In Web Deployment Assembly, change the package structure to reflect your change. That should work.