Announcement Announcement Module
Collapse
No announcement yet.
util:constant usage error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • util:constant usage error

    With the below bean definition, SIDE gives me the following error:

    "Incorrect usage of element 'util:constant' in a nested manner. ..."

    But this usage is an example in the spring reference manual. (And also works at runtime.)

    Code:
        <bean class="whatever">
            <property name="someStringValue">
                <util:constant static-field="org.springframework.jmx.support.MBeanRegistrationSupport.REGISTRATION_FAIL_ON_EXISTING"/>
            </property>
        </bean>

  • #2
    This is a totally unknown error message to me. Can you please open a JIRA for this so that I can follow on.

    Thanks, Christian

    Comment


    • #3
      I also am getting the same error after a rebuild. Removing the Spring Nature from a product and re-adding it removes the error message which really points to this being a bug.

      David

      Comment


      • #4
        Hi all,

        I can't reproduce that. Can you please follow on at http://jira.springframework.org/browse/IDE-808

        Thanks, Christian

        Comment

        Working...
        X