1: Modify the <artifactId><name> attribute in the pom.xml file to the target project name
<modelVersion>4.0.0</modelVersion>
<groupId>com.uei</groupId>
<artifactId>porjectName</artifactId>
<name>porjectName</name>
<packaging>war</packaging>
<version>1.0.0-BUILD-SNAPSHOT</version>
2: Press F2 on the eclipse project to rename it.
Wait for the verification time, and then execute maven's upda project function.