File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Error in adding Spring security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
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: 9427
    
    2

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, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9427
    
    2

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: 17257
    
    6

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: 9427
    
    2

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://aspose.com/file-tools
 
subject: Error in adding Spring security