• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

How to debug Spring Roo generated applicationContext-Security.xml file?

 
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I issued the command "security setup" and the resulting applicationContext-Security.xml file has errors.
Do I need to download spring-security-3.1.xsd from someplace on the web? Where would I put it?

On line 8:
Multiple annotations found on this line:
-- schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/security/spring-security-3.1.xsd' because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
--cvc-comples-type.2.4.c The matching wildcard is strict, but no declaration can be found for element 'http'

On line 18:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'authentication-manager'.
 
Siegfried Heintze
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the clutter. The problem was resolved with a clean and a rebuild. Apparently I received the errors initially because I was not connected to the network when I initially issued the command.
 
reply
    Bookmark Topic Watch Topic
  • New Topic