title: JBoss 7.1 cannot deploy .aar file (Axis2) integrated with Spring
body: <p>I have used eclipse to create an Axis2 Web Service packaged as .aar file as described here:</p>
  
  <p>Axis2 Integration with the Spring Framework
  <a href="http://axis.apache.org/axis2/java/core/docs/spring.html#a26" rel="nofollow">http://axis.apache.org/axis2/java/core/docs/spring.html#a26</a></p>
  
  <p>*The project for the WS was created with Maven.</p>
  
  <p>Then, I upload the service using the Axis2 Web Admin Module.</p>
  
  <p>However, I get </p>
  
  <p><strong>Error: java.lang.NoClassDefFoundError: org/apache/axis2/extensions/spring/receivers/ApplicationContextHolder</strong></p>
  
  <p>If I package my web service as .war it is deployed correctly from Eclipse.</p>
  
  <p><strong>What could be done?</strong></p>
  
  <p>Thanks in advance.</p>