SpringBoot啓動報錯:之sun.misc.Unsafe.park(Native Method)

2020-02-19 15:04:23.102  WARN 10327 --- [           main] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [RxIoScheduler-1 (Evictor)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 java.lang.Thread.run(Thread.java:748)
2020-02-19 15:04:23.111  INFO 10327 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-02-19 15:04:23.115 ERROR 10327 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

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

Description:

An attempt was made to call the method springfox.documentation.swagger.web.UiConfigurationBuilder.supportedSubmitMethods([Ljava/lang/String;)Lspringfox/documentation/swagger/web/UiConfigurationBuilder; but it does not exist. Its class, springfox.documentation.swagger.web.UiConfigurationBuilder, is available from the following locations:

    jar:file:/Users/zhangmengjie/Documents/devTool/maven/mavenRepository/io/springfox/springfox-swagger-common/2.8.0/springfox-swagger-common-2.8.0.jar!/springfox/documentation/swagger/web/UiConfigurationBuilder.class

It was loaded from the following location:

    file:/Users/zhangmengjie/Documents/devTool/maven/mavenRepository/io/springfox/springfox-swagger-common/2.8.0/springfox-swagger-common-2.8.0.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of springfox.documentation.swagger.web.UiConfigurationBuilder


Process finished with exit code 1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章