Eclipse WEB project change project name

1. Right-click the project: Refactor->Rename, or select the project and press F2 to modify the name.
2. Right-click the project: Properties->Web Project Settings, modify the Context Root.
3. Find the location of the project and modify the project directory/.setting directory org.eclipse.wst.common.component file, the wb-module content of project-modules, including:
deploy-name: the component name displayed when configuring to the web server;
java-output-path: the output location of the class compilation file;
context-root: The deployment directory.
4. Modify the project directory: .project file
         <?xml version="1.0" encoding="UTF-8"?>
               <projectDescription>
                    <name>updatename</name>

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326801418&siteId=291194637