aspose file tools
The moose likes Spring and the fly likes Error in adding Spring security Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "Error in adding Spring security" Watch "Error in adding Spring security" New topic
Author

Error in adding Spring security

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8795

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.





SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8795

I was using different versions of spring security components and that was why the error. Got rid of this.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17225
    
    1

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8795

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Error in adding Spring security
 
Similar Threads
Spring Tomcat Application - Startup Problems
Unable to locate Spring NamespaceHandler for XML schema namespace
Spring 3.0.2 and Active MQ 5.4.1 Issues
Configuration problem:
Unable to locate Spring NamespaceHandler for XML schema namespace