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 The matching wildcard is strict, but no declaration can be found for element 'authentication-provide Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "The matching wildcard is strict, but no declaration can be found for element Watch "The matching wildcard is strict, but no declaration can be found for element New topic
Author

The matching wildcard is strict, but no declaration can be found for element 'authentication-provide

Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
I have the following header defined for adding Spring security. I get the following compile time exception but the application runs fine.

Do I have to do any settings for the IDE to understand the definitions. All the other Spring configuration files work fine.

Failed to read schema document ‘http://www.springframework.org/schema/security/spring-security-2.0.1.xsd’

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'authentication-provider'. applicationContext-security.xml spring-security-samples-tutorial-2.0.4/WebContent/WEB-INF line 57 XML Problem

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'global-method-security'. applicationContext-security.xml spring-security-samples-tutorial-2.0.4/WebContent/WEB-INF line 19 XML Problem

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'. applicationContext-security.xml spring-security-samples-tutorial-2.0.4/WebContent/WEB-INF line 25 XML Problem
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

I replied to your other thread.

Do you want me to close the other thread and use this one instead, or close this one and continue in the other thread?

Thanks

Mark


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

Joined: May 28, 2008
Posts: 183
Thanks, that fixed it.

I had made a lot of changes in the XML preferences (XML Schema File Settings, DTD, ...) a long time ago. I have reverted that and it worked. Just didn't know where to look.
 
 
subject: The matching wildcard is strict, but no declaration can be found for element 'authentication-provide