![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring-boot
无中生友
这个作者很懒,什么都没留下…
展开
-
Spring Boot - 访问外部接口最全总结
Spring Boot - 访问外部接口最全总结原创 2020-07-06 18:02:32 · 293 阅读 · 0 评论 -
springboot整合dubbo+zookeeper
springboot整合dubbo+zookeeper原创 2020-07-06 14:11:21 · 72 阅读 · 0 评论 -
SpringBoot——启动与自动配置类查找
SpringBoot——启动与自动配置类查找原创 2020-07-01 18:03:16 · 455 阅读 · 0 评论 -
Spring Boot******2
5、如何修改SpringBoot的默认配置模式: 1)、SpringBoot在自动配置很多组件的时候,先看容器中有没有用户自己配置的(@Bean、@Component)如果有就用用户配置的,如果没有,才自动配置;如果有些组件可以有多个(ViewResolver)将用户配置的和自己默认的组合起来; 2)、在SpringBoot中会有非常多的xxxConfigurer帮助我们进行扩展配置...转载 2019-03-21 11:43:15 · 274 阅读 · 0 评论 -
spring boot中定义json与xml的返回格式
spring boot 的rest接口返回格式可以通过RequestMapping注解的produces进行指定,如果项目需要同时既能满足json与xml的返回格式,就需要手动指定,如下:@RequestMapping(value = "/student", produces = arrayOf("application/xml", "application/json"))其中的applic...原创 2019-03-24 16:35:21 · 682 阅读 · 0 评论 -
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
Spring Boot项目中含有Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.错误.问题原因:Mybatis没有找到合适的加载类,其实是大部分spring - datasource - url没有加载成功,分析...原创 2019-03-24 17:16:03 · 20875 阅读 · 8 评论