SpringBoot官網上手教程

首先需要安裝jdk和maven

jdk安裝省略

maven的安裝:

Windows Tips

  • Check environment variable value e.g.
echo %JAVA_HOME% 
C:\Program Files\Java\jdk1.7.0_51
  • Adding to PATH: Add the unpacked distribution’s bin directory to your user PATH environment variable by opening up the system properties (WinKey + Pause), selecting the “Advanced” tab, and the “Environment Variables” button, then adding or selecting the PATH variable in the user variables with the value C:\Program Files\apache-maven-3.6.0\bin. The same dialog can be used to set JAVA_HOME to the location of your JDK, e.g. C:\Program Files\Java\jdk1.7.0_51

  • Open a new command prompt (Winkey + R then type cmd) and run mvn -v to verify the installation.

SpringBoot官網地址:

http://spring.io/projects/spring-boot/#overview

 

Quick start

Bootstrap your application with Spring Initializr.

點擊Spring Initializr 這個鏈接。

進入https://start.spring.io/ 這個網址。

輸入相關信息,然後點擊generate project按鈕,瀏覽器會把創建的SpringBoot項目下載下來。

啓動IntelliJ IDEA Community Edition 2018.3.3 x64

導入下載解壓的項目文件

配置jdk和maven

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章