Eclipse Web project WebContent directory modification

 

1. Change the configuration file, open the org.eclipse.wst.common.component file in the .setting folder, open  it with Notepad,

<wb-module deploy-name="AMS">
         <wb-resource deploy-path="/" source-path="/ WebContent "/>
        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
        <property name="context-root" value="AMS"/>
        <property name="java-output-path" value="/AMS/ WebContent /WEB-INF/classes"/>
 </wb-module>

Change the folder directory of source-path to your webRoot directory name, and that 's it.

2. At the same time, copy the .jsdtscope file

    <classpathentry kind="src" path=" WebContent "/>

   Synchronously changed to be  consistent with the source-path above

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326227549&siteId=291194637