How to idea run a project on tomcat?
Eclipse is simple
Run-> run on server and -> ALL server settings
How to do it on idea?
How to idea run a project on tomcat?
Eclipse is simple
Run-> run on server and -> ALL server settings
How to do it on idea?
First you install Tomkat, then create the system variable CATALINA_HOME . You create a project, then in the IDEA click on the Select run / Debug configuration button, from there choose your tomCat local, then select your barn, jar or earn in the demultimants.
And the most important: you need IDEA ULTIMATE, in the community a lot has been cut, including tomkat.
More simple, as for me, the option when building via Maven is to use the Tomcat plugin:
<plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <url>http://localhost:8080/manager/text</url> <server>TomcatServer</server> </configuration> </plugin> It also works in the CE version. Next in the launch menu will appear among the Tomcat7 plug-ins: launch, deploy ...
Source: https://ru.stackoverflow.com/questions/466971/
All Articles