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
I have the following ClassNotFoundException on unit tests ran with updated h2.
I upgraded to the latest version of spring-data-jdbc
Versions :
spring-data-jdbc version 2.3.1
and spring-boot-starter-parent version 2.6.3
and spring-jdbc version 5.3.15
and h2 version 2.1.210
and liquibase version 4.7.1
at org.springframework.data.convert.CustomConversions.collectPotentialConverterRegistrations(CustomConversions.java:202) ~[spring-data-commons-2.6.1.jar:2.6.1]
at org.springframework.data.convert.CustomConversions.<init>(CustomConversions.java:114) ~[spring-data-commons-2.6.1.jar:2.6.1]
at org.springframework.data.jdbc.core.convert.JdbcCustomConversions.<init>(JdbcCustomConversions.java:88) ~[spring-data-jdbc-2.3.1.jar:2.3.1]
at org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration.jdbcCustomConversions(AbstractJdbcConfiguration.java:130) ~[spring-data-jdbc-2.3.1.jar:2.3.1]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.15.jar:5.3.15]
... 107 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.h2.api.TimestampWithTimeZone
Is there a plan to handle H2 v2.x ? A work-around ?
The text was updated successfully, but these errors were encountered:
Hi,
I have the following ClassNotFoundException on unit tests ran with updated h2.
I upgraded to the latest version of spring-data-jdbc
Versions :
spring-data-jdbc version 2.3.1
and spring-boot-starter-parent version 2.6.3
and spring-jdbc version 5.3.15
and h2 version 2.1.210
and liquibase version 4.7.1
Is there a plan to handle H2 v2.x ? A work-around ?
The text was updated successfully, but these errors were encountered: