在Tomcat的IntelliJ IDEA社区版 [英] Tomcat in Intellij Idea Community Edition
本文介绍了在Tomcat的IntelliJ IDEA社区版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能运行的IntelliJ IDEA社区版使用Tomcat服务器的Web应用程序?
Is it possible to run a web application using Tomcat Server in Intellij Idea Community Edition?
我试图找到一些关于它的信息,但没有任何achived成功。
I tried to find some information about it but haven't achived any success.
推荐答案
如果您正在使用Maven,您可以使用此命令 MVN的tomcat:运行
,但首先你加在你的pom.xml这个结构到构建标签,就像这样:
If you are using maven, you can use this command mvn tomcat:run
, but first you add in your pom.xml this structure into build tag, just like this:
<build>
<finalName>mvn-webapp-test</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
这篇关于在Tomcat的IntelliJ IDEA社区版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文