在项目名右键选择properties
找到下面的目录,其中web context root中即该项目的默认虚拟路径,修改虚拟路径之后需要重新在tomcat服务器重新挂载
web项目的虚拟路径
原文:http://www.cnblogs.com/liuliuyiming/p/7689461.html