liubao68 commented on issue #4414:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4414#issuecomment-2232127868

   > > 可以试试调试下 `SwaggerGenerator` , 看看是否没加载 `SpringmvcSwaggerGeneratorFactory` 
。 有可能缺少包引用。
   > 
   > 调试发现没有加载`SpringmvcSwaggerGeneratorFactory`,加上依赖可以了,谢谢
   > 
   > ```
   > <dependency>
   >   <groupId>org.apache.servicecomb</groupId>
   >   <artifactId>swagger-generator-springmvc</artifactId>
   >   <version>2.8.17</version>
   > </dependency>
   > ```
   > 
   > 有个疑问,我看了下升级前我们依赖1.x分支的代码,并没有依赖swagger-generator-springmvc,为啥可以正常调用呢
   
   需要看你们的依赖配置,有可能部分间接依赖有变化。 建议依赖 `solution-basic` , 以屏蔽变化和包括java chassis的核心功能。 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to