java.lang.IllegalArgumentException: Could not resolve placeholder 'jar.version' in string value "${jar.version}"

Stack Overflow | Marc | 2 months ago
  1. 0

    Gradle exported properties dont work with gradle bootRun in Spring

    Stack Overflow | 2 months ago | Marc
    java.lang.IllegalArgumentException: Could not resolve placeholder 'jar.version' in string value "${jar.version}"
  2. 0

    Can't import a property value while using a placeholder

    Stack Overflow | 2 years ago | rayman
    java.lang.IllegalArgumentException: Could not resolve placeholder 'configuration.serviceId' in string value "${configuration.serviceId}"
  3. 0

    spring-boot property placeholder

    Stack Overflow | 3 years ago | MrKY
    java.lang.IllegalArgumentException: Could not resolve placeholder 'mylogfile' in string value "${mylogfile}"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not resolve placeholder my_propertySource in string value file:$ - error only happens in Unix

    Stack Overflow | 6 months ago | Jim C
    java.lang.IllegalArgumentException: Could not resolve placeholder 'CONF_DIR' in string value "file:${CONF_DIR}"
  6. 0

    springboot app not starting - error (Stopped o.s.b.c.e.j.JettyEmbeddedWebAppContext)

    Stack Overflow | 6 months ago | harshavmb
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.lewis.web.app.operations.dashboard.models.BuildInformation com.lewis.web.app.operations.dashboard.controllers.ConfigController.buildInformation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildInformationProperties': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.lang.String com.lewis.web.app.operations.dashboard.models.BuildInformationProperties.version; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'build.version' in string value "${build.version}"

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

      Could not resolve placeholder 'jar.version' in string value "${jar.version}"

      at org.springframework.util.PropertyPlaceholderHelper.parseStringValue()
    2. Spring Core
      PropertyPlaceholderHelper.parseStringValue
      1. org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)[spring-core-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      1 frame