---Restore content begins---
I read some about the deployment of the maven project before and felt that it was not detailed enough. I wanted to write an article myself, hoping to help more beginners like me...
1. First you have to download maven http://maven.apache.org/download.cgi
2. The next step is to decompress: for example, you can decompress like me
3. Find the settings.xml file and modify it, mainly adding two places
4. There is one more thing you should have discovered. The technology creates a new MavenRespotion folder in the maven folder under the D drive (D:\maven\MavenRespotion)
This is where your local repository is located.
5. The preparations are done, the next step is to build a maven web instance
6. Just click Finish. Don't rush to do other things first, you have to wait. Generally, the first deployment will be slower, please wait patiently, just see the picture below.
You can see a lot of things downloaded under D:\maven\MavenRespotion
7. The next step is how to publish the project to Tomcat
In this more verbose, the selection steps of Tomcat are given
8. At this point, you have to set up:
At this point, Tomcat can be released and started, but I think some netizens have introduced hot deployment, so I will talk about it together.
What is framed in this interface is the settings for hot deployment:
9. The next step is to start and release
it will automatically access
Let me talk about it here. When I set it up earlier, the port was obviously 8008. How can it be port 8080 on the browser? In fact, my port has always been 8080,
When I set it up earlier, I thought it was 8008, so I don't need to pay too much attention to it. If the port conflicts, just change it, which was mentioned earlier.
(Okay, this is the end of it. It should be quite detailed. I also just started blogging. If there are any shortcomings, please leave a message, thank you!)
---End of recovery content---