Eclipse modify the Web project name requires two steps:
1 : Modify the project directory: .project file
<projectDescription>
<name>SpringMVC-Annotation</name>
<comment></comment>
<projects>
</projects>
2 : Project Right Properties -> Web Project Settings -> Context root