方法一: 右键项目名-->properties-->myeclipse-->project Facets-->web 方法二: 右键项目名-->properties-->myeclipse-->Deployment Assembly