You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

多模块Gradle项目中无法通过Swagger UI向API Gateway发起跨服务请求的问题求助

多模块Gradle项目中无法通过Swagger UI向API Gateway发起跨服务请求的问题求助

各位大佬好,我最近在维护一个多模块的Gradle项目时碰到了个头疼的问题——没法通过Swagger UI向API Gateway发起跨服务请求,想请大家帮忙支支招。先跟大家同步下项目里的依赖配置情况:

  • 各个业务服务模块中使用的依赖:

    implementation 'org.springframework.boot:spring-boot-starter-web'
    // SpringDoc OpenAPI
    implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.6'
    
  • API Gateway模块中的依赖配置(注:最后一行依赖可能粘贴不完整,还请见谅):

    implementation 'org.springframework.boot:spring-boot-starter-webflux'
    implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
    implementation 'o
    

备注:内容来源于stack exchange,提问作者Виктор Гловлюк

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 17:18:17