Hello, everyone, long time no see! Recently finally settled down, you can quiet down to write things. First write a simple, look for feelings. The tool family itself is relatively simple, there is no technical content. Because in the final analysis, tools only help us to work, know how to use, and then the rest is the skilled things.
Today, let's talk about how to run the MAVEN project directly under Tomcat inside Eclipse:
Switch to Servers view, double-click Tomcat to open the Tomcat properties panel:
In the lower left corner of the Tomcat Properties panel, select the Modules tab, delete the default item, and then add an extended web Modules.
Then select the path to your project, and note that the path must be selected under MAVEN's compiled target directory.
Path is the access path, that is, "localhost:8080" after the things, according to their own circumstances.
When you are finished adding:
OK, the configuration is over here, then right-click on the-->run As-->clean install on the project or pom file, wait for it to complete, then launch Tomcat in Eclipse. With the introduction of the Jrebel plug-in before you can let Maven project under Tomcat to achieve hot deployment, quickly try it!
Tools for Novice Tutorials (vi)--let MAVEN project run directly in Tomcat inside Eclipse