dyc87112 / spring-cloud-config-admin

Spring Cloud Config的综合管理后台(简称:SCCA)
https://dyc87112.github.io/spring-cloud-config-admin-doc/
Apache License 2.0
658 stars 262 forks source link

SpringBoot2.x不兼容 #153

Open linzhiqiang0514 opened 5 years ago

linzhiqiang0514 commented 5 years ago

Caused by: org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanTypeDeductionException: Failed to deduce bean type for com.didispace.scca.rest.SccaRestAutoConfiguration.errorAttributes at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanTypeForBeanMethod(OnBeanCondition.java:496) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar:2.1.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanType(OnBeanCondition.java:483) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar:2.1.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.(OnBeanCondition.java:435) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar:2.1.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.(OnBeanCondition.java:416) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar:2.1.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:158) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar:2.1.3.RELEASE] at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar:2.1.3.RELEASE] ... 17 more Caused by: java.lang.ClassNotFoundException: org.springframework.boot.autoconfigure.web.ErrorAttributes at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_72] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_72] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_72] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_72] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_72] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_72]

使用SpringBoot 2.x,存在类不兼容,这个类在1.x和2.x的路径不一样。

qq282485068 commented 5 years ago

我了发现这个问题,程序员DD好像不升级了

linzhiqiang0514 commented 5 years ago

是啊。好像都没动静了。