1.Spring Boot configurations
application.yml
2.Spring Boot Application
WitApp.java
3.Rest Controller
WitUserRest.java
4.Aspect
WitAspect.java
5.Controller Advice
WitExceptHandle.java
6.Jpa Repository
WitRepository.java
7.代碼下載下傳、編譯、打包
導入工程檔案、編譯、打包步驟如下:
Eclipse 導入maven工程
Maven打包
8.啟動和UT步驟
啟動應用:java -jar wit-rest-1.0.jar
UT步驟:
(2). 輕按兩下 JAR包 restclient-1.1.jar 啟動工具