how to configure apache tomcat in intellij idea community code example
Example: how to add a tomcat server in intellij through maven
<build>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>myProject</path>
</configuration>
</plugin>
</plugins>
</build>