How to use vscode to build a springboot project
Let's start with a screenshot of springboot A screenshot of a tutorial on the official website . You can create a HelloWorld project . After being able to run normally Java The environment is configured . current IDE Can automatically help us Download all kinds of environment and plug-ins we need , So it's very convenient .
establish maven Project or springboot Project steps .
- Install two plug-ins
- To configure Java Environmental Science
- To configure maven Environmental Science
- establish maven project
- springboot project
Install two plug-ins
- Java Extension pack
- Maven for Java
Configuration environment
- To configure Java Environmental Science
- To configure maven Environmental Science
establish maven project
establish springboot project
Follow the steps in the figure and click , There will be and springboot The same configuration as the official website , Select and press enter to start downloading the project .
Download the project and launch it directly .
tops:
In the brush maven The process is very slow , Later, it was found that if it was configured as an alicloud image, the speed would be very fast . stay maven Of config Configuration in file
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>