修改tomcat根目录下的conf/server.xml文件
找到以下行
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
在下方添加一行
<Context path="" reloadable="true" docBase="你的web项目名称"/>修改tomcat根目录下的conf/server.xml文件
找到以下行
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
在下方添加一行
<Context path="" reloadable="true" docBase="你的web项目名称"/>