IntelliJ IDEA change project name steps

1. Rename the project folder
2. Open the project with IntelliJ IDEA
3. File->Project Structure->Project Change the Project name to the new project name.
4.File->Project Structure-Module Change the Module name to the new project name.
5.File->Project Structure->facets to create a new web
6.File->Project Structure->Artifacts. Delete the previous package, create a new Web Application:Archive, enter name
7. Enter tomcat configurations -> Deployment, the previous war Delete the package and add the newly generated war package
8. Enter pom.xml and modify the artifactId.
9. Modify the file with the suffix iml in the project to the new project name.
10.File->Project Structure->Artifacts re-add lib manually

Guess you like

Origin blog.csdn.net/qq_43647936/article/details/128293567