java.lang.IllegalAccessError: class org.springframework.social.connect.jdbc.JdbcConnectionRepository$$EnhancerBySpringCGLIB$$1196d00b cannot access its superclass org.springframework.social.connect.jdbc.JdbcConnectionRepository
断点信息
java.lang.IllegalAccessError: class org.springframework.social.connect.jdbc.JdbcConnectionRepository$$EnhancerBySpringCGLIB$$1196d00b cannot access its superclass org.springframework.social.connect.jdbc.JdbcConnectionRepository
断点信息
我在github上找到的答案:
https://github.com/spring-pro...
因为JdbcConnectionRepository 不是public,无法使用代理类产生,如果使用spring boot的话可以设置spring.aop.proxy-target-class=false
或者在config里
@Bean
不适用CGLIB而使用JDK的代理
实在不行那应该就是你的spring-boot-devtools的问题,删除依赖即可