随笔分类 - Spring Boot
摘要:解决方案: 方法1. 将feign接口合并 方法2. 在application.yml文件中增加配置spring.main.allow-bean-definition-overriding=true 方法3. 在@FeignClient注解上增加contextId属性,确保每个feign clien
阅读全文
摘要:1. 导入依赖 ```xml org.springframework.boot spring-boot-starter-data-elasticsearch ``` 2. application.yml加入如下配置 ```yml spring: elasticsearch: rest: uris:
阅读全文
摘要:1. 加依赖 ```xml org.apache.shardingsphere shardingsphere-jdbc-core-spring-boot-starter 5.1.2 ``` 2. 创建新的配置文件application-sharding.yml,在application.yml中导入
阅读全文
摘要:Spring Boot集成OpenFeign
阅读全文
摘要:1. 加依赖 ```xml com.baomidou mybatis-plus-boot-starter ``` 2. 在application.yml中加入mybatis-plus的配置信息 ``` mybatis-plus: mapper-locations: classpath:/mapper
阅读全文
摘要:#问题:Spring Boot Configuration Annotation Processor not configured 
浙公网安备 33010602011771号