• Stars
    star
    314
  • Rank 132,822 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

本项目基于springboot最新版2.1.3RELEASE 收集记录学习spring的点点滴滴,通过每一个小demo,一步步进阶,逐步完善。

SpringBootDemo

Spring Boot 学习示例

Spring Boot 2.1.3.RELEASE Mysql 5.6 JDK 1.8 Maven license

介绍

本项目基于springboot最新版2.1.3RELEASE 收集记录学习spring的点点滴滴,通过每一个小demo,一步步进阶,逐步完善。

实际开发过程很少碰到单模块的项目,所以该项目使用多模块开发,更贴合实际开发要求。 所以检出项目时请检出整个目录,而不是只检出某个demo。

当然考虑到多模块加载依赖问题,也可以只检出某个模块的demo,只是运行前请更改子模块pom.xml:

更改前:

    <parent>
        <groupId>com.mrcoder</groupId>
        <artifactId>SpringBootDemo</artifactId>
        <version>1.0.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

更改后:

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.3.RELEASE</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

子模块简写

sb =》 spring boot

sbm =》 spring boot mybatis

sbmp =》 spring boot mybatis plus

案例

如果觉得不错,请右上角 STAR 哦~