title: cannot access org.springframework.core.env.EnvironmentCapable
body: <p>I'm trying to get a spring bean in a web application using it:</p>
  
  <pre><code>WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext());
  AClass aClass = (aClass) wac.getBean("aClass");
  </code></pre>
  
  <p>And, when I run compile/test/package with maven, an error occurs:</p>
  
  <pre><code>cannot access org.springframework.core.env.EnvironmentCapable
  [ERROR] class file for org.springframework.core.env.EnvironmentCapable not found
  </code></pre>
  
  <p>The most strange is that org.springframework.core.env.EnvironmentCapable exists! :/</p>
  
  <p>Basic Project Configuration:</p>
  
  <ul>
  <li>Spring 3.1.1.RELEASE (There isn't other spring version in classpath)</li>
  <li>Maven 3</li>
  <li>JSF 2.1</li>
  <li>Servlet API 2.5</li>
  </ul>
  
  <p>Any idea is welcome!</p>