Eclipse : Starting tomcat server from eclipse , do

2019-05-26 10:11发布

I have configured Tomcat Server in Eclipse Helios IDE , and started the server in Debug Mode .

This Server has already got a war file probe.war .

My question is,why this application probe.war has not been started when i started the Server from Eclipse IDE ??

This is the server console eclipse under the Eclipse IDE .

Oct 22, 2011 12:31:56 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Oct 22, 2011 12:31:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 22, 2011 12:31:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 22, 2011 12:31:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=null
Oct 22, 2011 12:31:57 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 401 ms

1条回答
地球回转人心会变
2楼-- · 2019-05-26 10:48

WTP offers integration between Eclipse and Tomcat, if you're not using it, you're more on your own.

As you said in the comment, you've manually placed the war file, but since you're starting Tomcat with Eclipse, the webapps directory configured by Eclipse is not the same one you're using, so your application doesn't get deployed.

To solve your problem either:

查看更多
登录 后发表回答