• 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

Error in adding Spring security

 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I would like to configure Spring security for my project. When I added the sample applicationContext-security from the sample Spring security tutorial and deployed it to Tomcat, I got the following error.




 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was using different versions of spring security components and that was why the error. Got rid of this.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Joe Harry wrote:I was using different versions of spring security components and that was why the error. Got rid of this.



By any chance is some of your Spring Security config stuff copied from the Spring Security sample apps? I had that before and ended up pulling my hair looking for an xml attribute of one of its tags only to see that the xsd line copied from the sample apps was an older xsd version that didn't have the attribute I wanted to use.

Mark
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did not pull any jars or copy any files form the sample apps. But rather I simply used them to have a knowledge on the jars and the config files that might be needed.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic