Home > Back-end >  How to specify a maven project start in the idea
How to specify a maven project start in the idea

Time:09-29

The idea of a project, as shown in figure:
Is a web app project, without dependence on each other, using tomcat: run, every time start is the first, how to specify the start?

CodePudding user response:

Spring boot Application class start, isn't it in Tomcat and engineering

CodePudding user response:

refer to the original poster, baylor response:
the idea of a project, as shown in figure:
Is a web app project, without dependence on each other, using tomcat: run, every time start is the first, how to specify the start?


You this kind of practice is to use local tomcat load project, I'm going to effect such as the title said, in the idea, maven project use tomcat to specify a module start alone, that is to say, in the pom file tomcat plug-in, plug-in was used to simulate the tomcat startup directly, and then in the idea of maven view using tomcat directly; Can start the run,

CodePudding user response:

refer to the second floor, baylor response:
Quote: refer to the original poster, baylor response:

The idea of a project, as shown in figure:
Is a web app project, without dependence on each other, using tomcat: run, every time start is the first, how to specify the start?


You this kind of practice is to use local tomcat load project, I'm going to effect such as the title said, in the idea, maven project use tomcat to specify a module start alone, that is to say, in the pom file tomcat plug-in, plug-in was used to simulate the tomcat startup directly, and then in the idea of maven view using tomcat directly; Run to start the sort of,


Open your project, a plugins, find the tomcat plug-in, double-click

CodePudding user response:

In the maven view
  • Related