【发布时间】:2011-03-30 21:58:56
【问题描述】:
我正在尝试设置 tomcat (v7.0.11) 和 eclipse (v3.6.1),以便可以在 eclipse 中调试 JSP 页面。我正在阅读这些说明: http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html 我正在执行“将 ROOT(默认)Web 应用程序复制到 Eclipse 中”这一步。我做了。但是,当我尝试访问 http://localhost:8080 时(通过 eclipse 启动 tomcat 之后),我仍然收到 404 错误。
当我在 Eclipse 中启动 tomcat 时,我在控制台中看到了一些警告,但没有错误:
Mar 30, 2011 8:10:23 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:JSPDataSource' did not find a matching property.
Mar 30, 2011 8:10:23 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:JSPEssbase2' did not find a matching property.
【问题讨论】: