Intellij IDEA社區版使用tomcat
- 創建maven web項目
- 在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>
- 在Edit Configrations中添加tomcat插件的配置, 保存后即可運行
- Come on!
- 插件springassist