原因:Context-root丢失

解决方法:

右击项目->properties->MyEclipse->Web

在WebContext-root中添加项目名

注意项目下面有个.mymetadata文件,或是编辑这个文件

context-root为项目名

webrootdir这个属性为web文件夹名(例如如果你项目web目录名是cms,则webrootdir的值改成/cms)

就OK了

系统日期会影响myeclipse编译