![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 525 阅读 · 0 评论 -
SpringCloud Alibaba集成常见问题
常见问题java.lang.IllegalArgumentException: Param ‘serviceName’ is illegal, serviceName is blank‘org.springframework.cloud.client.SpringCloudApplication’ is deprecatedjava.lang.IllegalStateException: Annotation @EnableCircuitBreaker found, but there are no原创 2021-05-07 15:44:56 · 845 阅读 · 0 评论