Spring AspectJ fails when double-proxying interface: Could not generate CGLIB subclass of class
问题 I'm using Spring's <aop:aspectj-autoproxy /> to proxy some JPA repository interfaces. However, the proxying is failing with the following Cannot subclass final class class $Proxy80 : Could not generate CGLIB subclass of class [class $Proxy80]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy80 As the error, and a quick google, suggests - this occurs when the proxy