# spring-cloud3 **Repository Path**: skmbw/spring-cloud3 ## Basic Information - **Project Name**: spring-cloud3 - **Description**: Spring Cloud 3 学习项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-06 - **Last Updated**: 2023-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SPRING BOOT3 LEARN ## File extension is not known to any PropertySourceLoader. If the location is meant to reference a dir * 不应该在配置 spring.config.import=nacos ## Add a spring.config.import=nacos: property to your configuration * 需要添加一个依赖 ```groovy implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap:4.0.4' ``` * spring cloud alibaba 默认禁用了bootstrap.yml的扫描 ## 版本的对应关系很重要,否则会出现很多的问题 * Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway. * 这个要去掉 implementation 'org.springframework.cloud:spring-cloud-starter-gateway' * 网关和spring mvc冲突,使用mvc就好了 * spring boot 3.2.0 使用 implementation 'org.springframework.cloud:spring-cloud-starter-gateway-mvc'