java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.NestedBasicPropertyIA - Unexpected aggregationType AS_BASIC_PROPERTY_COLLECTION

GitHub | choelea | 5 months 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

    Failed to work on Spring boot 1.4

    GitHub | 5 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
  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 | 11 months 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

    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 | 11 months 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].
  4. Speed up your debug routine!

    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.NestedBasicPropertyIA - Unexpected aggregationType AS_BASIC_PROPERTY_COLLECTION

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