我在eclipse中可以成功启动tomcat,但就是在浏览器中打开不了http://localhost:8080,报The requested resource (/) is not available. 但我单独启动tomcat(不在eclipse中启动),就可以成功访问,这是为什么啊?
我是用eclipse3.5+ Tomcat6.0
下面是eclipse启动tomcat的一些简短信息:
2009-11-7 14:00:54 org.springframework.web.struts.ContextLoaderPlugIn initWebApplicationContext
信息: Using context class 'org.springframework.web.context.support.XmlWebApplicationContext' for servlet 'action'
2009-11-7 14:00:54 org.springframework.web.struts.ContextLoaderPlugIn init
信息: ContextLoaderPlugIn for Struts ActionServlet 'action', module '': initialization completed in 13218 ms
2009-11-7 14:00:54 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-11-7 14:00:54 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-11-7 14:00:54 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/188 config=null
2009-11-7 14:00:54 org.apache.catalina.startup.Catalina start
信息: Server startup in 18318 ms