更改输出到-tomcat-webapps-目录下的文件夹名

37次阅读

共计 621 个字符,预计需要花费 2 分钟才能阅读完成。

  • 项目 .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>

正文完
 0