Running Tomcat Server with an artifact created by Maven into IntelliJ 13

不羁的心 提交于 2019-12-03 08:16:32

To build a artifact with a profile you have to create a Maven Run/Debug configuration as in the following image

Then In Tomcat Run/Debug Configuration add above build in 'Before Launch' section by clicking the '+' button and select 'Run Another Configuration' then select the maven build.

The Result should like the below image.

Now if you run Tomcat configuration first the maven build will be executed before Tomcat.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!