Logging system failed to initialize using configuration from ‘classpath:logback.xml’
java.lang.IllegalStateException: Logback configuration error detected:
exclusion
很多boot项目配置完日志文件后,启动报这个:
Logging system failed to initialize using configuration from 'classpath:logback.xml'java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@4:84 - no applicable action for [springProperty], current ElementPath is [[configuration][springProperty]]ERROR in ch.qos.logback.core.joran.spi.Interpreter@5:80 - no applicable action for [springProperty], current ElementPath is [[configuration][springProperty]]
基本遇到这个问题貌似看到报错,基本就排除jar包了,其实是因为内置jar的原因,我们可以把这个 [logback.xml]命名换掉,如[log-config.xml],然后别忘了logging.config = 的配置也要更换哦,然后启动。