摘要:
9.spring-boot-loader spring-boot-loader可以用来构建一个单独可执行的jar包,使用java -jar就能直接运行。也可以使用Spring Boot提供的Maven或者Gradle插件来构建jar包。 阅读全文
posted @ 2022-12-13 22:05
cnetsa
阅读(67)
评论(0)
推荐(0)
摘要:
8.spring-boot-test-autoconfigure spring-boot-test-autoconfigure用于为spring-boot-test测试模块提供自动配置。 阅读全文
posted @ 2022-12-13 22:05
cnetsa
阅读(47)
评论(0)
推荐(0)
摘要:
7.spring-boot-test spring-boot-test是Spring Boot测试模块,为应用测试提供了许多非常有用的核心功能。 阅读全文
posted @ 2022-12-13 22:05
cnetsa
阅读(66)
评论(0)
推荐(0)
摘要:
6.spring-boot-actuator-autoconfigure spring-boot-actuator-autoconfigure用于为spring-boot-actuator执行端点提供自动配置。 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(84)
评论(0)
推荐(0)
摘要:
5.spring-boot-actuator spring-boot-actuator是Spring Boot提供的执行端点,包括健康端点、环境端点、Spring Bean端点等 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(55)
评论(0)
推荐(0)
摘要:
4.spring-boot-cli spring-boot-cli是Spring Boot的命令行工具,用于编译和运行Groovy源程序,使用它可以十分简单地编写并运行一个应用程序。它也能监控你的文件,一旦有变动就会自动重新编译并重新启动应用程序。 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(49)
评论(0)
推荐(0)
摘要:
spring-boot-starters是Spring Boot的启动器,它可以一站式打包Spring及相关技术应用,而不需要开发者到处寻找依赖和示例来配置代码。 开发者只要启动spring-boot-starters 中的spring-boot-starter-web启动器,该模块就会自动配置 W 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(48)
评论(0)
推荐(0)
摘要:
spring-boot-autoconfigure能根据类路径下的内容自动配置,提供的@EnableAutoConfiguration注解能启用Spring Boot的自动配置功能。自动配置功能可以推断开发者可能需要加载哪些Spring Bean,例如,如果类路径下有一个连接池的包,此时并未提供任何 阅读全文
posted @ 2022-12-13 22:03
cnetsa
阅读(229)
评论(0)
推荐(0)
摘要:
spring-boot是Spring Boot的主模块,也是支持其他模块的核心模块,主要功能包含以下几点。 (1)提供了一个用于启动 Spring 应用的主类,它的主要作用是创建和刷新Spring容器的上下文。 (2)提供了内嵌式的并可自由选择搭配的Web应用容器,例如,Tomcat、Jetty、U 阅读全文
posted @ 2022-12-13 22:02
cnetsa
阅读(56)
评论(0)
推荐(0)
摘要:
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; 阅读全文
posted @ 2022-12-13 14:20
cnetsa
阅读(75)
评论(0)
推荐(0)

浙公网安备 33010602011771号