摘要:
6.spring-boot-actuator-autoconfigure spring-boot-actuator-autoconfigure用于为spring-boot-actuator执行端点提供自动配置。 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(62)
评论(0)
推荐(0)
摘要:
5.spring-boot-actuator spring-boot-actuator是Spring Boot提供的执行端点,包括健康端点、环境端点、Spring Bean端点等 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(40)
评论(0)
推荐(0)
摘要:
4.spring-boot-cli spring-boot-cli是Spring Boot的命令行工具,用于编译和运行Groovy源程序,使用它可以十分简单地编写并运行一个应用程序。它也能监控你的文件,一旦有变动就会自动重新编译并重新启动应用程序。 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(36)
评论(0)
推荐(0)
摘要:
spring-boot-starters是Spring Boot的启动器,它可以一站式打包Spring及相关技术应用,而不需要开发者到处寻找依赖和示例来配置代码。 开发者只要启动spring-boot-starters 中的spring-boot-starter-web启动器,该模块就会自动配置 W 阅读全文
posted @ 2022-12-13 22:04
cnetsa
阅读(30)
评论(0)
推荐(0)
摘要:
spring-boot-autoconfigure能根据类路径下的内容自动配置,提供的@EnableAutoConfiguration注解能启用Spring Boot的自动配置功能。自动配置功能可以推断开发者可能需要加载哪些Spring Bean,例如,如果类路径下有一个连接池的包,此时并未提供任何 阅读全文
posted @ 2022-12-13 22:03
cnetsa
阅读(197)
评论(0)
推荐(0)
摘要:
spring-boot是Spring Boot的主模块,也是支持其他模块的核心模块,主要功能包含以下几点。 (1)提供了一个用于启动 Spring 应用的主类,它的主要作用是创建和刷新Spring容器的上下文。 (2)提供了内嵌式的并可自由选择搭配的Web应用容器,例如,Tomcat、Jetty、U 阅读全文
posted @ 2022-12-13 22:02
cnetsa
阅读(32)
评论(0)
推荐(0)
摘要:
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; 阅读全文
posted @ 2022-12-13 14:20
cnetsa
阅读(59)
评论(0)
推荐(0)
摘要:
<!-- JPA的依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> 阅读全文
posted @ 2022-12-13 13:47
cnetsa
阅读(46)
评论(0)
推荐(0)
摘要:
<!-- Springboot整合mybatis依赖--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1. 阅读全文
posted @ 2022-12-13 13:47
cnetsa
阅读(116)
评论(0)
推荐(0)
摘要:
<!-- thymeleaf整合依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 阅读全文
posted @ 2022-12-13 13:47
cnetsa
阅读(50)
评论(0)
推荐(0)

浙公网安备 33010602011771号