老师能看下可能报错的原因吗?谢谢
来源:3-3 引入内嵌servlet容器

慕设计2335229
2019-06-11
老师能看下可能报错的原因吗?谢谢
Logging system failed to initialize using configuration from 'classpath:log4j2.xml’
2019-06-10 23:06:55.189 INFO 16237 — [ main] trationDelegateBeanPostProcessorChecker:Bean′org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration′oftype[org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfigurationBeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfigurationBeanPostProcessorChecker:Bean′org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration′oftype[org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfigurationEnhancerBySpringCGLIBEnhancerBySpringCGLIBEnhancerBySpringCGLIB$10d48711] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Logging system failed to initialize using configuration from 'classpath:log4j2.xml’
java.lang.IllegalStateException: Logback configuration error detected:
1回答
-
你如果引ogback需要把log4j.xml删除掉,如果你想用log4j那需要引入log4j的starter,可以看看springboot前几章有引入log4j的视频
012019-06-15
相似问题