Problem: configuration log4j error
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/D:/Java_Soft/Apache/Apache-Maven/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/Java_Soft/Apache/Apache-Maven/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.13.3/log4j-slf4j-impl-2.13.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] Logging system failed to initialize using configuration from 'classpath:log4j2.xml' java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@13:17 - no applicable action for [Properties], current ElementPath is [[configuration][Properties]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@24:141 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@27:51 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:53 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@31:16 - no applicable action for [appenders], current ElementPath is [[configuration][appenders]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@32:53 - no applicable action for [console], current ElementPath is [[configuration][appenders][console]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@34:98 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][console][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@37:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][console][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@42:78 - no applicable action for [File], current ElementPath is [[configuration][appenders][File]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@43:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][File][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@51:148 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@53:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@58:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@61:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@65:148 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@67:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@68:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@69:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@71:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@72:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@75:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@79:151 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@81:80 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@82:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@83:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@85:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@86:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@89:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@96:14 - no applicable action for [loggers], current ElementPath is [[configuration][loggers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@99:68 - no applicable action for [logger], current ElementPath is [[configuration][loggers][logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@100:41 - no applicable action for [AppenderRef], current ElementPath is [[configuration][loggers][logger][AppenderRef]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@104:76 - no applicable action for [Logger], current ElementPath is [[configuration][loggers][Logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@105:41 - no applicable action for [AppenderRef], current ElementPath is [[configuration][loggers][Logger][AppenderRef]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@108:28 - no applicable action for [root], current ElementPath is [[configuration][loggers][root]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@109:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@110:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@111:50 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@112:50 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@113:51 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:175) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:131) at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:315) at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:281) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:239) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:216) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:203) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:196) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:170) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:148) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:362) at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1309) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1298) at com.yt.app.api.IctApplication.main(IctApplication.java:17) Exception in thread "main" java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@13:17 - no applicable action for [Properties], current ElementPath is [[configuration][Properties]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@24:141 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@27:51 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:53 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@31:16 - no applicable action for [appenders], current ElementPath is [[configuration][appenders]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@32:53 - no applicable action for [console], current ElementPath is [[configuration][appenders][console]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@34:98 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][console][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@37:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][console][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@42:78 - no applicable action for [File], current ElementPath is [[configuration][appenders][File]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@43:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][File][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@51:148 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@53:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@58:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@61:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@65:148 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@67:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@68:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@69:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@71:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@72:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@75:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@79:151 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@81:80 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@82:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@83:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@85:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@86:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@89:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@96:14 - no applicable action for [loggers], current ElementPath is [[configuration][loggers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@99:68 - no applicable action for [logger], current ElementPath is [[configuration][loggers][logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@100:41 - no applicable action for [AppenderRef], current ElementPath is [[configuration][loggers][logger][AppenderRef]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@104:76 - no applicable action for [Logger], current ElementPath is [[configuration][loggers][Logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@105:41 - no applicable action for [AppenderRef], current ElementPath is [[configuration][loggers][Logger][AppenderRef]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@108:28 - no applicable action for [root], current ElementPath is [[configuration][loggers][root]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@109:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@110:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@111:50 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@112:50 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@113:51 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:327) at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:281) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:239) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:216) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:203) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:196) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:170) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:148) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:362) at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1309) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1298) at com.yt.app.api.IctApplication.main(IctApplication.java:17) Caused by: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@13:17 - no applicable action for [Properties], current ElementPath is [[configuration][Properties]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@24:141 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@27:51 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:53 - no applicable action for [property], current ElementPath is [[configuration][Properties][property]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@31:16 - no applicable action for [appenders], current ElementPath is [[configuration][appenders]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@32:53 - no applicable action for [console], current ElementPath is [[configuration][appenders][console]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@34:98 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][console][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@37:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][console][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@42:78 - no applicable action for [File], current ElementPath is [[configuration][appenders][File]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@43:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][File][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@51:148 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@53:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@58:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@61:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@65:148 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@67:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@68:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@69:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@71:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@72:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@75:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@79:151 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@81:80 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@82:54 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@83:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@85:58 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@86:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@89:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@96:14 - no applicable action for [loggers], current ElementPath is [[configuration][loggers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@99:68 - no applicable action for [logger], current ElementPath is [[configuration][loggers][logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@100:41 - no applicable action for [AppenderRef], current ElementPath is [[configuration][loggers][logger][AppenderRef]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@104:76 - no applicable action for [Logger], current ElementPath is [[configuration][loggers][Logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@105:41 - no applicable action for [AppenderRef], current ElementPath is [[configuration][loggers][Logger][AppenderRef]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@108:28 - no applicable action for [root], current ElementPath is [[configuration][loggers][root]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@109:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@110:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@111:50 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@112:50 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@113:51 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]] at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:175) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:131) at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:315) ... 18 more Disconnected from the target VM, address: '127.0.0.1:61338', transport: 'socket' Process finished with exit code 1
Solution: load order adjustment in pom.xml
Put these in front of the POM
<!-- springmvc --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId> </exclusion> </exclusions> </dependency>
As follows:
Similar Posts:
- [Exception] LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either r…
- An error occurs when springboot sets the log level [How to Solve]
- org.springframework.core.log.LogMessage [How to Solve]
- java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application-dev.yml’
- [Solved] Spring Boot Error: Failed to instantiate SLF4J LoggerFactory Reported exception:
- Springboot starts with @ scheduled and reports an error: no qualifying bean
- Springboot Failed to parse configuration class [x]
- [Solved] No qualifying bean of type ‘org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder’ available:
- [Solved] linux Error: springboot org.springframework.context.ApplicationContextException: Failed to start bean ‘webServerStartStop’
- [Solved] java.lang.IllegalStateException: Failed to introspect Class xxxx