how to run intellij java project and tomcat server 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>