1:修改项目目录下:.project文件
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MyProject</name>
2:项目右键属性 --> Web Project Settings --> Context root
3:修改项目目录下:.settings\org.eclipse.wst.common.component