參考:
https://www.cnblogs.com/EasonJim/p/7801549.html
在根據文檔配置后,出現了以下錯誤
Logging system failed to initialize using configuration from 'classpath:logback-dev.xml' java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@1:27 - no applicable action for [springProfile], current ElementPath is [[springProfile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@9:24 - no applicable action for [root], current ElementPath is [[springProfile][root]]
查看官方文檔中關於此錯誤的描述
將logback.xml改為logback-spring.xml即可。