如下3个地方都修改为一致即可解决。
1,右键项目名 --> properties --> 输入web project settings --> 修改Context root为你现在的项目名。
2,修改后缀名为.project的文件,在项目路径下找到.project的文件,把标签中的内容修改为项目名。
3,修改后缀名为org.eclipse.wst.common.component文件,文件在项目路径下settings文件夹里,修改地方如下。
如下3个地方都修改为一致即可解决。
1,右键项目名 --> properties --> 输入web project settings --> 修改Context root为你现在的项目名。
2,修改后缀名为.project的文件,在项目路径下找到.project的文件,把标签中的内容修改为项目名。
3,修改后缀名为org.eclipse.wst.common.component文件,文件在项目路径下settings文件夹里,修改地方如下。