SpringBoot - 各种有用的官方资料(持续更新)

各种Starter:

https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/#using-boot-starter

各种依赖Jar包版本:

https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/#executable-jar-alternatives

application.properties配置文件可以配置项:

https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/#common-application-properties
其中有配置项可用于切换不同的环境(开发环境、测试环境、生产环境):

# PROFILES
spring.profiles.active= # Comma-separated list of active profiles. Can be overridden by a command line switch.
spring.profiles.include= # Unconditionally activate the specified comma-separated list of profiles (or list of profiles if using YAML).

Spring Boot OAuth2

可用于 单点登陆(SSO),当然可以可用于生成token
https://spring.io/guides/tutorials/spring-boot-oauth2/

SpringBoot 应用程序构建组(Spring Initializer)

官网地址: https://start.spring.io/
可以选择需要的第三方组件,例如mybatis,redis,等等,然后会生成一个压缩包让你下载,包里包含着一个已经准备好所需要maven依赖的pom.xml文件:



    4.0.0

    com.example
    demo
    0.0.1-SNAPSHOT
    jar

    demo
    Demo project for Spring Boot

    
        org.springframework.boot
        spring-boot-starter-parent
        2.0.1.RELEASE
         
    

    
        UTF-8
        UTF-8
        1.8
    

    
        
            org.springframework.boot
            spring-boot-starter-data-redis
        
        
            org.mybatis.spring.boot
            mybatis-spring-boot-starter
            1.3.2
        

        
            org.springframework.boot
            spring-boot-starter-test
            test
        
    

    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
            
        
    



除了可以直接网站上生成,还可以通过idea进行生成,更方便一些:


SpringBoot - 各种有用的官方资料(持续更新)_第1张图片
1.png
SpringBoot - 各种有用的官方资料(持续更新)_第2张图片
2.png
SpringBoot - 各种有用的官方资料(持续更新)_第3张图片
3.png

你可能感兴趣的:(SpringBoot - 各种有用的官方资料(持续更新))