一、进入G:\Java Project\Spring1.metadata.plugins\org.eclipse.wst.server.core eclipse 工作空间下的servers.xml 文件
进行修改
<servers>
<server auto-publish-setting="2" auto-publish-time="1" com.springsource.tcserver.asf="false"
com.springsource.tcserver.name="base-instance" com.springsource.tcserver.version="9.0.13.B.RELEASE" configuration-
id="/Servers/Pivotal tc Server Developer Edition v4.0-config" deployDir="wtpwebapps" hostname="localhost"
id="Pivotal tc Server Developer Edition v4.0" id-set="true" name="Pivotal tc Server Developer Edition v4.0"
runtime-id="Pivotal tc Server Developer Edition (Runtime) v4.0" saveSeparateContextFiles="true" server-
type="com.pivotal.server.tc.90" server-type-id="com.pivotal.server.tc.90" start-timeout="120" stop-timeout="15"
testEnvironment="false" timestamp="0"/>
<server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v9.0 Server at
localhost-config" deployDir="wtpwebapps" hostname="localhost" id="Tomcat v9.0 Server at localhost" name="Tomcat
v9.0 Server at localhost" runtime-id="Apache Tomcat v9.0" server-type="org.eclipse.jst.server.tomcat.90" server-
type-id="org.eclipse.jst.server.tomcat.90" start-timeout="180" stop-timeout="15" testEnvironment="true"
timestamp="0"/>
</servers>
就可以把45 改成180了