在tomcat安装目录下打开conf下的server.xml
找到
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" />
将port值改为8088然后重启tomcat就ok了
在server.xml中找到
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
将appBase的值改为你想作为你想要作为根目录的路径就好了(最好用绝对路径)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30093551/viewspace-1403997/ ,如需转载,请注明出处,否则将追究法律责任。