当前位置:网站首页>Multiple Dockets with the same group name are not supported.The following duplicate groups were disc
Multiple Dockets with the same group name are not supported.The following duplicate groups were disc
2022-08-07 00:58:00 【Charter1】
微服务中集成了swagger2
现在有两个服务 一个微信服务 一个会员服务 都注入了swagger
会员服务依赖于微信服务, 单独启动微信没有报错
启动会员服务时 爆出异常
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.IllegalStateException: Multiple Dockets with the same group name are not supported. The following duplicate groups were discovered. default

org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.IllegalStateException: Multiple Dockets with the same group name are not supported. The following duplicate groups were discovered. default
Caused by: java.lang.IllegalStateException: Multiple Dockets with the same group name are not supported. The following duplicate groups were discovered. default
网上查了资料说是bean对象重复了. 这里发现是两个服务都注入了swagger 没有进行分组, 都配分配到默认的组里去了.
解决办法: 在swagger配置中进行分组
将注释放开即可.
边栏推荐
猜你喜欢

关闭Win10自动更新

A Preliminary Study of Web Development: The Box Model of Web Page Layout

2022 Hazardous Chemicals Business Unit Safety Management Personnel Exam Questions Mock Exam Question Bank and Mock Exam

HCIP(18)

Open3D ROR filtering

桥接模式

网页版MC服务器搭建+汉化

Web version MC server construction + localization

ECCV 2022 Oral | 无需微调即可泛化!RegAD:少样本异常检测新框架

2022 Electrician (Elementary) Special Work Certificate Exam Question Bank and Mock Exam
随机推荐
Download, install and use Nvm
虚拟机CrossOver2022下载及如何使用教程
Qt QDir相关笔记
2022 Electrician (Elementary) Special Work Certificate Exam Question Bank and Mock Exam
电话订货、线下赊账、人工打单,批发生意越做越简单
Mathematical English topic comprehension model record (1)
ECCV 2022 Oral | 无需微调即可泛化!RegAD:少样本异常检测新框架
LeetCode:每日一题【第一周】
【笔记】单测调用本地接口
Super Resolution Model Cheat Sheet (1)
Close the Win10 automatic updates
Playwright安装加一个简单的实例
著名的 P=NP 问题到底是什么?
单选项时过渡和动画
AtCoder Beginner Contest 263(A~D) ect
hcip实验(18)
蒸馏学习框架小抄(1)
Redis(六) 主从模式
剑指 Offer 05. 替换空格
下载安装和使用Nvm