You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
java.lang.NoClassDefFoundError: net/ttddyy/dsproxy/proxy/GlobalConnectionIdManager at com.github.gavlyukovskiy.boot.jdbc.decorator.dsproxy.DataSourceProxyConfiguration.connectionIdManagerProvider(DataSourceProxyConfiguration.java:49) ~[datasource-decorator-spring-boot-autoconfigure-1.6.2.jar:na]
The flexipool spring boot starter 1.6.2 (https://mvnrepository.com/artifact/com.github.gavlyukovskiy/flexy-pool-spring-boot-starter) does not work with datasource-proxy 1.4.7 , which is the dependency version in the pom of db-util. It will throw a NoClassDefFounderError:
java.lang.NoClassDefFoundError: net/ttddyy/dsproxy/proxy/GlobalConnectionIdManager at com.github.gavlyukovskiy.boot.jdbc.decorator.dsproxy.DataSourceProxyConfiguration.connectionIdManagerProvider(DataSourceProxyConfiguration.java:49) ~[datasource-decorator-spring-boot-autoconfigure-1.6.2.jar:na]
This is because GlobalConnectionIdManager is added in version 1.6.0 of datasource-proxy => https://ttddyy.github.io/datasource-proxy/docs/current/api/net/ttddyy/dsproxy/proxy/GlobalConnectionIdManager.html
When I explicitly added a dependency to version 1.7 of datasource-proxy the problem was gone.
Maybe there are other considerations that make upgrading the dependency not trivial.
The text was updated successfully, but these errors were encountered: