org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy86]: 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 com.sun.proxy.$Proxy86

GitHub | 694551594 | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    和Mybatis结合使用的时候报错。

    GitHub | 12 months ago | 694551594
    org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy86]: 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 com.sun.proxy.$Proxy86
  2. 0

    SpringMVC, Shiro, and Java Configuration

    Stack Overflow | 3 years ago | sonoerin
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'menuService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'menuRepository': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy68]: 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 com.sun.proxy.$Proxy68
  3. 0

    SpringMVC Proxy issue

    Stack Overflow | 3 years ago | sonoerin
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'menuRepository': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy69]: 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 com.sun.proxy.$Proxy69
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    importing aop context gives Cglib error

    Stack Overflow | 3 years ago | user3517856
    org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy20]: 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 com.sun.proxy.$Proxy20
  6. 0

    Startup Error with Spring 3.2.13.RELEASE mybatis 2.3.5 aspectj 1.6.11

    Stack Overflow | 10 months ago | Rahul Thachilath
    org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class $Proxy12]: 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 $Proxy12

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot subclass final class class com.sun.proxy.$Proxy86

      at org.springframework.cglib.proxy.Enhancer.generateClass()
    2. Spring Core
      Enhancer.create
      1. org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:446)
      2. org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33)
      3. org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
      4. org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
      5. org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
      6. org.springframework.cglib.proxy.Enhancer.create(Enhancer.java:285)
      6 frames
    3. Spring AOP
      CglibAopProxy.getProxy
      1. org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProxy.java:206)
      1 frame