I’m using MyEclipse R10.7 to build a web app that employs the Spring 3.0 and Hibernate 3.3 aspects.
With a Spring XML configuration I added the following AOP scoping to a bean…
<bean id="tenantContext" class="com.eis.spring.identity.tenant.TenantContextImpl"
scope="session">
<aop:scoped-proxy />
</bean>
... and now web app fails to load with the following error...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantContext' defined in BeanDefinition defined in ServletContext resource [/WEB-INF/classes/identityContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type
/code]
I can see that the 'Type' class is located in multiple places within the various Spring and Hibernate libraries, why is this failing?