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

GitHub | choelea | 2 months ago
  1. 0

    Failed to work on Spring boot 1.4

    GitHub | 2 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 | 9 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 | 9 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

  5. 0

    GitHub comment 6214#238784033

    GitHub | 4 months ago | ptzhuf
    java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.NestedBasicPropertyIA - Unexpected aggregationType AS_BASIC_PROPERTY_COLLECTION
  6. 0

    Error while trying sending mail across gmail using logback and spring boot

    Stack Overflow | 6 months ago | IMahajan
    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(LogbackLoggingSystem.java:152)

    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.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