Is DefaultAutoProxyCreator needed if tx:annotation-driven is already enabled ?
<bean class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator">
<property name="proxyTargetClass" value="true" />
</bean>
<tx:annotation-driven proxy-target-class="true"/>
It seems when there are both of them enabled, then proxy of proxies start getting created and starts failing.
Having only tx-annotation enabled, I have disabled spring-aspect and cglib also in maven dependencies. Do I need to have cglib even in Spring 4 for class based proxies like above ?
Spring version : 4.0.6