title: Spring AOP The matching wildcard is strict, but no declaration can be found for element 'aop:config'
body: <p>Line 13 in XML document from class path resource [ApplicationContextAOP.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 <strong>'aop:config'</strong>.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:aop="http://www.springframework.org/schema/aop"
  xmlns:context="http://www.springframework.org/schema/context"
  xsi:schemaLocation="http://www.springframework.org/schema/beans 
  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://www.springframework.org/schema/context
  http://www.springframework.org/schema/context/spring-context-3.0.xsd"&gt;
  </code></pre>
  
  
  
  <pre><code>&lt;bean id="audience" class="com.idol.Audience" /&gt;
  
  &lt;aop:config&gt;
  &lt;aop:aspect ref="audience"&gt;
  
      &lt;!-- Before performance --&gt;     
  
      &lt;aop:before pointcut="execution(*com.idol.performers.Performer.perform(..))"
      method="takeSeats"/&gt;
  
      &lt;aop:before pointcut="execution(*com.idol.performers.Performer.perform(..))"
      method="turnOffCellPhones" /&gt;
  
      &lt;!-- After performance --&gt;  
  
      &lt;aop:after-returning pointcut="execution(*com.idol.performers.Performer.perform(..))"
      method="applaud" /&gt;
  
      &lt;!-- After bad performance(exception thrown) --&gt;    
  
      &lt;aop:after-throwing pointcut="execution(*com.idol.performers.Performer.perform(..))"
      method="demandRefund" /&gt;
  
  &lt;/aop:aspect&gt;
  &lt;/aop:config&gt;
  &lt;bean id="poeticDuke" class="com.idol.performers.PoeticJuggler"&gt;
  &lt;constructor-arg value = "15" /&gt;
  &lt;constructor-arg ref = "sonnet29" /&gt;
  &lt;/bean&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>I've seen similar error and I am pretty sure my classpath has org.springframework.aop-3.1.0.M2.jar </p>
  
  <p>Could you tell me please what am I missing?</p>