starting tomcat v7.0 server at localhost has encountered a problem.....错误解法方法

在eclipse中写jsp页面时,修改了xml文件,启动Tomcat7.0出现了下图情况:

starting tomcat v7.0 server at localhost has encountered a problem.....错误解法方法_第1张图片

并且在控制台上显示警告:SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:day04' did not find a matching property.

解法方法:

1.双击servers里的Tomcat

starting tomcat v7.0 server at localhost has encountered a problem.....错误解法方法_第2张图片

2.依次点击如下两个按钮

starting tomcat v7.0 server at localhost has encountered a problem.....错误解法方法_第3张图片
改为第二个位置即:Use Tomcat installation...
starting tomcat v7.0 server at localhost has encountered a problem.....错误解法方法_第4张图片
下面这个按钮点击:publish moduls contexts.....
starting tomcat v7.0 server at localhost has encountered a problem.....错误解法方法_第5张图片
按Ctr+s进行保存
最后再启动重新启动Tomcat服务器,访问8080,成功出现Tomcat页面!

你可能感兴趣的:(开发工具)