title: Spring XML Namespaces
body: <p>I'm currently working my way through 'Spring in Action'. Being stuck starting with the aspects, I'd like to know if anybody can see my mistake.
  In my AppConfig.xml, I start the bean-declaratiotn with:</p>
  
  <pre><code>&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:p="http://www.springframework.org/schema/p"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
                          http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"&gt;
  </code></pre>
  
  <p>Running the app, I get the following exception:</p>
  
  <pre><code>Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [config/AppConfig.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
  </code></pre>
  
  <p>The definition might be wrong?</p>
  
  <p>Any help appreciated!</p>
  
  <p>Regards,
  Marcus</p>