Results 1 to 2 of 2

Thread: Unable to locate Spring NamespaceHandler for element ... [DEBUG INFO]

  1. #1
    Join Date
    Apr 2012
    Posts
    15

    Post Unable to locate Spring NamespaceHandler for element ... [DEBUG INFO]

    Hello,

    I've run this morning into issue which is already discussed in this forum.
    I haven't found relevant thread to post into, so I'm creating a new one.

    I've tried to debug this problem and I found this:

    First, I made a Project > Maven > Update Project Confguration

    And after this, all NameSpace resolving was OK.

    When using Project > Spring Tools > Add Spring Project Nature : DIFF

    This is what is added
    Code:
    diff -r first/.project second/.project
    32a33,37
    > 		<buildCommand>
    > 			<name>org.springframework.ide.eclipse.core.springbuilder</name>
    > 			<arguments>
    > 			</arguments>
    > 		</buildCommand>
    34a40
    > 		<nature>org.springframework.ide.eclipse.core.springnature</nature>
    And With these changes the NameSpace resolving breaks.

    Then I tried to remove the nature, but until I run again "Update Project Configuration" (Maven), it won't repair
    Not even restarting STS works.

    This ISSUE can be related to this:
    http://jira.codehaus.org/browse/MASSEMBLY-360

    But obviously this is related to Spring "Beans Validator" plugin (or whatever it is), as we can get rid of these Validation marks through disabling Spring > Project Validators > Beans Validator > XSD Tool Annotation Rule

    So that means, the namespaces are resolved correctly outside of Spring Validator

    STS Version: 2.9.1.RELEASE (201203221000)

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Can you attach a small sample project that illustrates/reproduces the problem you are describing? That would be great and highly appreciated!!!

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •