• 项目 .idea 目录下 workspace.xml ,修改 CONTEXT_PATH
  <component name="RunManager">
    <configuration name="Tomcat 7.0.69" type="#com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory" factoryName="Local" APPLICATION_SERVER_NAME="Tomcat 7.0.69" ALTERNATIVE_JRE_ENABLED="false" nameIsGenerated="true">
      <option name="OPEN_IN_BROWSER_URL" value="http://localhost/form/" />
      <option name="COMMON_VM_ARGUMENTS" value="-Dfile.encoding=UTF-8 -Xms1024m -Xmx1024m -XX:MaxNewSize=512m -XX:MaxPermSize=512m" />
      <option name="UPDATING_POLICY" value="restart-server" />
      <deployment>
        <artifact name="form">
          <settings>
            <option name="CONTEXT_PATH" value="/form" />
          </settings>
        </artifact>

拾柒_
87 声望1 粉丝