IDEA社区版安装tomcat

其实是用maven安装tomcat插件

<project>
  ...
  <build>
    ...
    <plugins>
      ...
      <plugin>
        <groupId>org.apache.tomcat.mavengroupId>
        <artifactId>tomcat7-maven-pluginartifactId>
        <version>2.2version>
        <configuration>
          <server>myserverserver>
        configuration>
      plugin>
      ...
    plugins>
    ...
  build>
  ...
project>

部署

如图所示:
这里写图片描述
IDEA社区版安装tomcat_第1张图片

详细可参考:

  1. http://tomcat.apache.org/maven-plugin-trunk/tomcat7-maven-plugin/usage.html
  2. http://blog.csdn.net/u012364631/article/details/47682011

你可能感兴趣的:(开发)