启动tomcat 不用加项目名

只需要将server.xml文件<host>节点里面加入上面的内容  docBase="这是你的项目名"</host> 保存退出即可

猜你喜欢

转载自www.cnblogs.com/goodboy321/p/9922462.html