![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
文章平均质量分 68
HarlanW
这个作者很懒,什么都没留下…
展开
-
SpringBoot全局异常处理类
1.添加SpringBoot依赖<dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> &...原创 2018-09-06 11:27:32 · 101 阅读 · 0 评论 -
使用SpringBoot自定义父工程
1.使用idea创建一个空项目2.之后创建一个parent项目,添加如下 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <versio...原创 2018-09-06 11:37:37 · 1793 阅读 · 0 评论 -
The bean 'scopedTarget.oauth2ClientContext', defined in class path resource
1.引起原因,springboot parent版本为 报错如下:org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'scopedTarget.oauth2ClientContext' defined in clas...原创 2019-02-20 10:57:13 · 3705 阅读 · 1 评论 -
springboot+maven+devtools热部署
1.添加依赖坐标<!-- spring boot devtools 依赖包. --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId>...原创 2019-03-22 11:34:36 · 411 阅读 · 0 评论