Intellij IDEA社区版使用

Intellij IDEA社区版使用tomcat

  1. 创建maven web项目
  2. 在pom.xml中添加tomcat的 tomcat7-maven-plugin 插件即可
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.tomcat.maven</groupId>
            <artifactId>tomcat7-maven-plugin</artifactId>
            <version>2.2</version>
            <configuration>
                <port>9999</port>
                <path>/</path>
            </configuration>
        </plugin>
    </plugins>
</build>
  1. 在Edit Configrations中添加tomcat插件的配置, 保存后即可运行
  1. Come on!
  1. 插件springassist
posted @ 2020-05-19 18:00  思维Offset  阅读(752)  评论(0)    收藏  举报