启动tomcat 不用加项目名

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

 

posted @ 2018-11-07 14:48  闲花落尽  阅读(633)  评论(0编辑  收藏  举报