org.springframework.core.ConstantException: Field 'PROPAGATION_' not found in class [org.springframework.transaction.TransactionDefinition]

Spring JIRA | Gunnar Wagenknecht | 1 decade ago
  1. 0

    The following exception is thrown when configuring an advice using the following snippet. Note that the snippet was taken nearly unmodified from the documentation. <!-- Transactional advice --> <tx:advice id="txAdvice" transaction-manager="transactionManager"> <tx:attributes> <!-- all methods starting with 'find' are read-only --> <tx:method name="find*" read-only="true" /> <!-- other methods use the default transaction settings --> <tx:method name="*" /> </tx:attributes> </tx:advice> org.springframework.core.ConstantException: Field 'PROPAGATION_' not found in class [org.springframework.transaction.TransactionDefinition] at org.springframework.core.Constants.asObject(Constants.java:142) at org.springframework.core.Constants.asNumber(Constants.java:113) at org.springframework.transaction.support.DefaultTransactionDefinition.setPropagationBehaviorName(DefaultTransactionDefinition.java:120) at org.springframework.transaction.config.TxAdviceBeanDefinitionParser.parseAttributes(TxAdviceBeanDefinitionParser.java:96) at org.springframework.transaction.config.TxAdviceBeanDefinitionParser.doParse(TxAdviceBeanDefinitionParser.java:77) at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:35) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:45) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:78) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1084) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:486) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:386) ... 42 more

    Spring JIRA | 1 decade ago | Gunnar Wagenknecht
    org.springframework.core.ConstantException: Field 'PROPAGATION_' not found in class [org.springframework.transaction.TransactionDefinition]
  2. 0

    The following exception is thrown when configuring an advice using the following snippet. Note that the snippet was taken nearly unmodified from the documentation. <!-- Transactional advice --> <tx:advice id="txAdvice" transaction-manager="transactionManager"> <tx:attributes> <!-- all methods starting with 'find' are read-only --> <tx:method name="find*" read-only="true" /> <!-- other methods use the default transaction settings --> <tx:method name="*" /> </tx:attributes> </tx:advice> org.springframework.core.ConstantException: Field 'PROPAGATION_' not found in class [org.springframework.transaction.TransactionDefinition] at org.springframework.core.Constants.asObject(Constants.java:142) at org.springframework.core.Constants.asNumber(Constants.java:113) at org.springframework.transaction.support.DefaultTransactionDefinition.setPropagationBehaviorName(DefaultTransactionDefinition.java:120) at org.springframework.transaction.config.TxAdviceBeanDefinitionParser.parseAttributes(TxAdviceBeanDefinitionParser.java:96) at org.springframework.transaction.config.TxAdviceBeanDefinitionParser.doParse(TxAdviceBeanDefinitionParser.java:77) at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:35) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:45) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:78) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1084) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:486) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:386) ... 42 more

    Spring JIRA | 1 decade ago | Gunnar Wagenknecht
    org.springframework.core.ConstantException: Field 'PROPAGATION_' not found in class [org.springframework.transaction.TransactionDefinition]
  3. 0

    [cas-user] [cas user] error

    Google Groups | 5 months ago | Bima sakti
    org.springframework.core.ConstantException: Field 'SYSTEM_PROPERTIES_MODE_ENVIRONMENT' not found in class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [cas-user] [cas user] error

    Google Groups | 5 months ago | Bima sakti
    org.springframework.core.ConstantException: Field 'SYSTEM_PROPERTIES_MODE_ENVIRONMENT' not found in class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]

    Root Cause Analysis

    1. org.springframework.core.ConstantException

      Field 'PROPAGATION_' not found in class [org.springframework.transaction.TransactionDefinition]

      at org.springframework.core.Constants.asObject()
    2. Spring Core
      Constants.asNumber
      1. org.springframework.core.Constants.asObject(Constants.java:142)
      2. org.springframework.core.Constants.asNumber(Constants.java:113)
      2 frames
    3. Spring Tx
      TxAdviceBeanDefinitionParser.doParse
      1. org.springframework.transaction.support.DefaultTransactionDefinition.setPropagationBehaviorName(DefaultTransactionDefinition.java:120)
      2. org.springframework.transaction.config.TxAdviceBeanDefinitionParser.parseAttributes(TxAdviceBeanDefinitionParser.java:96)
      3. org.springframework.transaction.config.TxAdviceBeanDefinitionParser.doParse(TxAdviceBeanDefinitionParser.java:77)
      3 frames
    4. Spring Beans
      XmlBeanDefinitionReader.doLoadBeanDefinitions
      1. org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:35)
      2. org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:45)
      3. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:78)
      4. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1084)
      5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
      6. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
      7. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:486)
      8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:386)
      8 frames