title: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'
body: <p>I've built a simple Spring WS (1.5.9) and I'm trying to deploy it to Glassfish v3. Unfortunately the deployment fails for the above reason. I've struggled to resolve the issue myself but it clearly not able to resolve the "bean" element.</p>
  
  <p>Heres me <code>spring-ws-servlet.xml</code> (bean definitions):</p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  
  ...bean definitions
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>I've also tried it with the <code>schemaLocation</code> set to <code>spring-beans-3.0.xsd</code> with the same result.</p>
  
  <p>My WAR only has one dependency and that is Spring-WS.</p>