1
2
3
  
gradle bootRun
  

run with env

java -jar xxx.jar --spring.profiles.active=prod

http://git.oschina.net/wiloon/java8x/tree/master/java-web-x?dir=1&filepath=java-web-x&oid=f781e8d83fbb0bf06b36e766fbe0bbaeb8f51756&sha=121ba0714d171c1fe53e246cf86a43fb145589b4

https://spring.io/guides/gs/rest-service/

https://github.com/mariuszs/spring-boot-web-jsp-example