Schema URL error - Spring 3.0

am trying out the petcare spring sample program but i get the following error in servlet-context

- schema_reference.4: Failed to read schema document '', because 1) could not 
 find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'petcare:resources'.

The spring-petcare-3.0.xsd is located on org.springframework.samples.petcare.util.config package under src/main/resources. How do i change URL schema to point here?


The sample works for me.

Have you built and deployed it correctly? Specifically can you check for the existence of file WEB-INF/classes/META-INF/spring.schemas in the deployed webapp, which contains the line


It is this, which indicates to the webapp, the location of the xsd file

Need Your Help

Windows 8 App Cert Kit no longer runs?

windows-8 microsoft-metro app-certification-kit

I am trying to do the App Cert check on my Metro app, but it won't run anymore! Anybody else having this same issue? I've searches all over the Internet, with not even a single related result.

Need an ideal way to handle tab bar in app

iphone ios objective-c uitabbarcontroller uitabbar

I want to create an app where there is a login screen, and when user logs in open up home page with tab bar controller.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.