spring cloud
夕颜以北
Java
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring Cloud Gateway网关跨域问题:请求不跨域,返回参数跨域
pom坐标:spring-cloud-starter-gateway 方式一:bootstrap.yml配置 网关bootstrap.yml增加跨域配置,此配置是最简单的方式,但会有的问题是,其它服务能正常跨域访问,但网关本身的请求会出现,请求不跨域,返回参数跨域的问题,如果能在代码层面解决该问题,烦请告知,谢谢。 spring: cloud: gateway: globalcors: cors-configurations: '[/**]':原创 2021-05-18 09:41:05 · 713 阅读 · 0 评论 -
SpringCloud Alibaba集成常见问题
常见问题 java.lang.IllegalArgumentException: Param ‘serviceName’ is illegal, serviceName is blank ‘org.springframework.cloud.client.SpringCloudApplication’ is deprecated java.lang.IllegalStateException: Annotation @EnableCircuitBreaker found, but there are no原创 2021-05-07 15:44:56 · 1025 阅读 · 0 评论
分享