Home > Back-end >  For help: configuration swagger, don't start
For help: configuration swagger, don't start

Time:12-19

The 2019-10-23 15:50:02. 88004-668 the INFO/restartedMain ConditionEvaluationReportLoggingListener:

Error starting ApplicationContext. To display the the conditions report re - run your application with 'debug' enabled.
The 2019-10-23 15:50:02. ERROR 672-88004 [restartedMain] O.S.B.D.L oggingFailureAnalysisReporter:

* * * * * * * * * * * * * * * * * * * * * * * * * * *
The 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. & lt; init> (UnwrappingRepositoryInvokerFactory. Java: 57)

The following method did not exist:

Org. Springframework. Plugin. Core. PluginRegistry. Of (Ljava/util/List) Lorg/springframework/plugins/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/plugins/spring - the plugin - core/1.2.0. RELEASE/spring - the plugin - core - 1.2.0. The jar!/org/springframework/plugins/core/PluginRegistry class

It was the loaded from the following location:

File:/Users/huangzhun/m2/repository/org/springframework/plugins/spring - the plugin - core/1.2.0. RELEASE/spring - the plugin - core - 1.2.0. The jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of org. Springframework. Plugin. Core. PluginRegistry


The Process finished with exit code 0

depends on pom also added:

IO. Springfox
Springfox - swagger2 & lt;/artifactId>
2.6.1 & lt;/version>



IO. Springfox
Springfox swagger - ui
2.6.1 & lt;/version>

CodePudding user response:

The building Lord, I met the same as you, how to solve

CodePudding user response:

Find the jar package you delete him, try to download the
  • Related