当我从eclipse部署时,我有一个在我的tomcat7服务器上正常运行的spring项目:Run As >> Run on server.在eclipse选项卡"Servers"中,我看到:
Servers
Tomcat v7.0 Server at localhost [Started, Synchronized]
my_project [Synchronized]
spring-web-3.2.4-RELEASE.jar
Run Code Online (Sandbox Code Playgroud)
我的项目:
我看到该项目在:
/srv/applications/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
Run Code Online (Sandbox Code Playgroud)
而且,我还看到了文件夹:conf,logs,temp,webapps,work,wtpwebapps
我确认当我从eclipse部署时,我的tomcat7服务器上的所有运行正常!
在eclipse控制台中,我得到:
Apr 08, 2014 3:26:59 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:my_project' did not find a matching property.
Apr 08, 2014 3:27:00 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8888"]
Apr 08, 2014 3:27:00 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8843"]
Apr 08, 2014 3:27:01 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in …Run Code Online (Sandbox Code Playgroud)