springcloud版本:Finchley.RELEASE
springboot版本:2.1.3.RELEASE
启动报错:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-05-19 17:32:50.794 ERROR 57677 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call the method org.springframework.boot.autoconfigure.web.ServerProperties$Servlet.getServletPrefix()Ljava/lang/String; but it does not exist. Its class, org.springframework.boot.autoconfigure.web.ServerProperties$Servlet, is available from the following locations:
jar:file:/Users/lishuaikang/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.1.3.RELEASE/spring-boot-autoconfigure-2.1.3.RELEASE.jar!/org/springframework/boot/autoconfigure/web/ServerProperties$Servlet.class
It was loaded from the following location:
file:/Users/lishua