在利用sprint Tool suite将项目布属到tomcat时,如果想要利用sprint tool suite进得tomcat启动,则在本地的tomcat 配置文件server.xml中,必须要含有:
---------------------------------------------------------------------------------------------------
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Context docBase="xxxx" path="/xx.xxx.autowired" reloadable="true" source="org.eclipse.jst.jee.server:xxxx"/></Host>
----------------------------------------------------------------------------------------------------
否则会报错:
Removing obsolete files from server...
Could not clean server of obsolete files: null
java.lang.NullPointerException