Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in adding Spring security

 
Joe Harry
Ranch Hand
Posts: 10080
3
Eclipse IDE Mac PPC 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: 10080
3
Eclipse IDE Mac PPC 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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac 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: 10080
3
Eclipse IDE Mac PPC 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic