Create Maven java project without using template
Use template to create Maven java project
Use templates to create Maven web projects
Create Maven java project without using template
A maven project is created
If you lack the Maven standard directory structure of the directory, you can fill in the Maven standard directory structure yourself (handwritten Maven project)
Use template to create Maven java project
I don’t know how to configure the Maven environment, you can see this Idea configure the maven environment
If you are prompted to report the following error during the period, or after the download is complete, a lot of pom.xml files report red, and the package is not quoted correctly, this blog can help you
I changed the path of the maven warehouse and set up an Alibaba Cloud image
Project after download
Built-in test class, run successfully
Generated using a template, does not have the complete standard directory structure of Maven, you can create a folder yourself
Then set as resource directory
Use templates to create Maven web projects
Project created successfully
Use the command mvn tomcat:run to start the project
index entry file
Visit, success
In the terminal, ctrl+c can close the service
Generated using a template, does not have the complete standard directory structure of Maven, you can create a folder yourself
Of course you can also set it from here