访问connect报500错误
来源:5-8 绑定和解绑处理

BarryLin
2017-12-18
怀疑和配置的加载顺序有关,但是用@Order注解调试了几次无果,错误如下:
java.lang.IllegalAccessError: class org.springframework.social.connect.jdbc.JdbcConnectionRepository$$EnhancerBySpringCGLIB$$7383a0d3 cannot access its superclass org.springframework.social.connect.jdbc.JdbcConnectionRepository
...
写回答
1回答
-
BarryLin
提问者
2017-12-18
继续排查,发现需要设置spring.aop.proxy-target-class=false这个属性,这样才能获得自己配置的jdbcConnectionRepository实例。
422019-07-01
Spring Security技术栈开发企业级认证与授权
Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全
2662 学习 · 1561 问题
相似问题