springboot 学习篇

1、

2、

3、热布署

<build>
 <plugins>
 <plugin>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-maven-plugin</artifactId>
  <dependencies>
   <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>springloaded</artifactId>
    <version>1.2.6.RELEASE</version>
   </dependency>
  </dependencies>
 </plugin>
 </plugins>
</build>
 
启动方式:mvn spring-boot:run(idea不会自动编译) 或者 main启动(不好用)
另一种部署方式 :
 
4、整合jpa

 

 

 

 

posted on 2017-12-19 18:14  Legend_yan  阅读(195)  评论(0)    收藏  举报