求救:配置swagger,启动不了

梦中低唱 梦中低唱 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
2019-10-23 15:50:02.668 INFO 88004 --- [ restartedMain] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-10-23 15:50:02.672 ERROR 88004 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

org.springframework.data.rest.core.support.UnwrappingRepositoryInvokerFactory.<init>(UnwrappingRepositoryInvokerFactory.java:57)

The following method did not exist:

org.springframework.plugin.core.PluginRegistry.of(Ljava/util/List;)Lorg/springframework/plugin/core/PluginRegistry;

The method's class, org.springframework.plugin.core.PluginRegistry, is available from the following locations:

jar:file:/Users/huangzhun/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar!/org/springframework/plugin/core/PluginRegistry.class

It was loaded from the following location:

file:/Users/huangzhun/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.plugin.core.PluginRegistry


Process finished with exit code 0

pom依赖也加了:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.6.1</version>
</dependency>

<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.6.1</version>
</dependency>
...全文

相关推荐

c# webapi 配置swagger的方法

主要介绍了c# webapi 配置swagger的方法,文中示例代码非常详细,帮助大家更好的理解和学习,感兴趣的朋友可以了解下

weixin_38747211

机器学习模型生产化落地:从Notebook到高可用服务的实战路径

机器学习模型服务化不是简单封装API,而是构建具备容错、可观测与可验证能力的生产级系统。其核心原理在于打破开发环境假设,通过输入校验、输出契约、资源隔离和分层熔断等机制,保障模型在真实基础设施(如老旧服务器、受限网络、碎片化GPU)中的稳定运行。技术价值体现在降低线上故障率、缩短MTTR、提升跨团队协作效率;典型应用场景包括金融风控实时决策、工业视觉边缘推理、医疗影像在线辅助诊断等对延迟、可靠性和可解释性要求严苛的领域。本文聚焦MLOps中最具挑战的‘Part 4’阶段——即模型真正交付业务并持续可信运行的

weixin_34130389

ONNX模型服务化实战:封装、API与立体监控

机器学习模型部署不是简单启动一个API,而是构建可维护、可观测、可回滚的生产级服务。核心在于模型封装的确定性(如ONNX格式替代Pickle)、服务契约的严谨性(OpenAPI+结构化错误码)以及覆盖基础设施、服务与模型三层的立体监控体系。ONNX Runtime凭借跨框架兼容性与高性能推理能力,成为生产环境模型服务化的关键技术选型;而FastAPI+Kustomize+Grafana组合则提供了轻量、稳定、GitOps友好的落地路径。本文聚焦真实业务场景下的MLOps工程实践,涵盖灰度发布、数据漂移检测、

weixin_30415113

springboot中swagger快速启动流程

主要介绍了springboot中的swagger快速启动流程,本文给大家介绍的非常详细,具有一定的参考借鉴价值,需要的朋友可以参考下

weixin_38703295

cxf配置swagger2

cxf配置swagger2

zhousenshan
评论 4
收藏 已收藏
分享
返回顶部
梦中低唱
Java EE 67,535 成员 225,843 内容