Use spring social to get a link to this site / connet when reporting the following questions?

java.lang.IllegalAccessError: class org.springframework.social.connect.jdbc.JdbcConnectionRepository$$EnhancerBySpringCGLIB$$1196d00b cannot access its superclass org.springframework.social.connect.jdbc.JdbcConnectionRepository

breakpoint information

Feb.28,2021

the answer I found on github:
https://github.com/spring-pro.
cannot be generated using the proxy class because JdbcConnectionRepository is not public,. If you use spring boot, you can set spring.aop.proxy-target-class=false

.

or
@ Bean

in config
@Scope(value = "request", proxyMode = ScopedProxyMode.INTERFACES)
public ConnectionRepository connectionRepository(ConnectionFactoryLocator connectionFactoryLocator) {
    Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
    if (authentication == null) {
        throw new IllegalStateException("Unable to get a ConnectionRepository: no user signed in");
    }
    return getUsersConnectionRepository(connectionFactoryLocator).createConnectionRepository(authentication.getName());
}

agents that use JDK instead of CGLIB
really can't. That should be the problem with your spring-boot-devtools. Just delete the dependency

.
Menu