java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties].

QOS.ch JIRA | Xavier Leveque | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I recently upgrade logbook from version 1.1.3 to version 1.1.6 and a new issue raised when starting up my application. I used to include few properties files in my logbook.xml file, and one the the included files does not always exists depending upon the environment on which it is running. {code:xml} <property scope="context" resource="application.properties" /> <property scope="context" file="config/application.properties" /> <property scope="context" file="config/application-dev.properties" /> {code} The third file exists only locally in my development environment. In production it does not exists. Up to release 1.1.3, this was working perfectly, only a warning was logged at startup. But since I upgraded to version 1.1.6, this is now generating an error which prevent my application to start. {noformat} java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... 18 more Process finished with exit code 1 {noformat} Is there a workaround for that? Would it be possible to fix that or at least to add a new attribute telling to ignore when the file is not found?

    QOS.ch JIRA | 1 year ago | Xavier Leveque
    java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties].
  2. 0

    I recently upgrade logbook from version 1.1.3 to version 1.1.6 and a new issue raised when starting up my application. I used to include few properties files in my logbook.xml file, and one the the included files does not always exists depending upon the environment on which it is running. {code:xml} <property scope="context" resource="application.properties" /> <property scope="context" file="config/application.properties" /> <property scope="context" file="config/application-dev.properties" /> {code} The third file exists only locally in my development environment. In production it does not exists. Up to release 1.1.3, this was working perfectly, only a warning was logged at startup. But since I upgraded to version 1.1.6, this is now generating an error which prevent my application to start. {noformat} java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... 18 more Process finished with exit code 1 {noformat} Is there a workaround for that? Would it be possible to fix that or at least to add a new attribute telling to ignore when the file is not found?

    QOS.ch JIRA | 1 year ago | Xavier Leveque
    java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties].
  3. 0

    Failed to work on Spring boot 1.4

    GitHub | 7 months ago | choelea
    java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.NestedBasicPropertyIA - Unexpected aggregationType AS_BASIC_PROPERTY_COLLECTION
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 5669#214428405

    GitHub | 1 year ago | checketts
    java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - 'File' option has the same value "logs/output.log" as that given for appender [FILE] defined earlier. ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting. ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
  6. 0

    JHipster Spring startup failed with Logback configuration error

    Stack Overflow | 1 year ago | CP17
    java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - Failed to create converter for [%clr] keyword ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - There is no conversion class registered for conversion word [wEx] ERROR in ch.qos.logback.core.pattern.parser.Compiler@30655222 - [wEx] is not a valid conversion word ERROR in ch.qos.logback.core.pattern.parser.Compiler@7abf4b83 - There is no conversion class registered for conversion word [wEx] ERROR in ch.qos.logback.core.pattern.parser.Compiler@7abf4b83 - [wEx] is not a valid conversion word

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties].

      at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration()
    2. Spring Boot
      LogbackLoggingSystem.loadConfiguration
      1. org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151)
      1 frame