I tried everything I can think of, but nothing seems to work.
I am using the current version of Spring Framework (3.2)
in my java web application.
Every time I start my project I get the following error:
cvc-elt.1: Cannot find the declaration of element 'beans'
this is my applicationContext.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
</beans>
I tried to :
- change the version of the schema (3.2, 2.0...)
- copy the schema from the jar into WEB-INF
- change unix EOL into windows EOL
and nothing seems to work, except using the DTD declaretion instead of the XSD. What should I do?