
Spring Boot 笔记
Spring Boot使用笔记
SmithJun
http://mambajun.github.io/
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
A component required a bean of type 'com.xxx.xxx.entity.User' that could not be found.
在启动类添加@ComponentScan(basePackages = {"com.xxx.xxx.service"})具体的是为什么,有人可以解释一下吗,我也不懂原因,欢迎大家留言原创 2019-06-02 12:44:25 · 7820 阅读 · 1 评论 -
SpringBoot 使用 swagger2 构建在线接口文档
SpringBoot swagger2 构建简介一、pom.xml 依赖二、在应用主类增加 @EnableSwagger2Doc 注解在配置文件中添加 swagger2 配置简介编写和维护接口文档是每个程序员的职责,根据 Swagger2 可以快速帮助我们编写最新的 API 接口文档,间接提升了团队开发的沟通效率。一、pom.xml 依赖<dependency> ...原创 2019-05-20 14:20:08 · 4026 阅读 · 0 评论 -
SpringBoot 整合 Redis
一、依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </depen...原创 2019-05-17 14:31:36 · 230 阅读 · 0 评论