15:24:11,498 WARN eans.factory.xml.XmlBeanDefinitionReader: 47 - Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'spring-security-3.0.xsd', 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>.
Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 7 in XML document from class path resource [META-INF/spring/app-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'security:http'.
I understand this issue. Please replace "http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" to the location where you kept your spring-beans-3.0.xsd files. The location should start from WEB-INF. In the similar way also change the spring-security-3.0.xsd to the location where you kept your spring-security-3.0.xsd files
Ideally it should look like this.
/WEB-INF/ is the place where you need to keep your app-context.xml.
I tried first to put spring-beans-3.0.xsd and spring-security-3.0.xsd to the same location where my app-context.xml resides. Then according to your reply i created a WEB-INF folder under the root of the project.
I still get an error:
This is not a Web project. I created it from the template Sprig utility project. I am not sure if the WEB-INF folder should be under the root of the project, or under some other folder?