• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Ranch Hand
Posts: 420
  • Mark post as helpful
  • send pies
  • 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: 420
  • Mark post as helpful
  • send pies
  • 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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic