Use Maven to build the SpringBoot project in MyEclipse, mavenspringboot
Development Environment: Myeclipse2017, JDK1.7, and Tomcat7.0.
Use Maven to build a spring boot project in Myeclipse. The detailed process is as follows:
New-> Project... -> Maven Project
Click Next and select
Note: you can filter maven-archetype-webapp directly by using the filter input web. Click
Enter the Group Id, Artifact Id, and Package (refer to the "keyword") and click "Finish"
GroupId: Generally the name of the company or organization.
ArtifactId: Generally the project name.
Packaging: The Packaging type, such as jar/war/rar/ear/pom. The default value is jar.
Version: Version number. GroupId + ArtifactId + Packaging + Version constitute the unique identifier of the project.
4. Click Finish.
The Created directory structure is as follows:
Click the selected project and press F2 to modify the Project name: delete space and Maven Webapp
(Or, right-click the project, right-click Refacotr, and then select Rename)
Now let's take a look at the directory structure of the project:
Index. jsp reports an error.
Solution: add it under pom. xml
Javax. servlet
Javax. servlet-api
3.1.0
View the directory structure of the project.
Now the first step of preparation is complete.