Hello JB & everyone,
On one of our Karaf instances we're running into the following error:
java.lang.NoClassDefFoundError:
org/springframework/util/function/SingletonSupplier
at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:140)
~[?:?]
at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:102)
~[?:?]
at
org.springframework.jdbc.support.JdbcAccessor.getExceptionTranslator(JdbcAccessor.java:122)
~[?:?]
at
org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1443)
~[?:?]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633) ~[?:?]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:669) ~[?:?]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:700) ~[?:?]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:712) ~[?:?]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:768) ~[?:?]
The Karaf version in use is 4.2.10 with Spring version "5.2.9.RELEASE_1"
A quite similar exception is documented at
https://issues.apache.org/jira/browse/SM-4582 and that seems to be fixed
already...
Is there a chance to get the Spring version "5.2.9.RELEASE_2" into the next
Karaf release 4.2.11? (I searched but haven't found an issue for that for KARAF)
Do you already have a release date for 4.2.11 in mind?
Or should I better rollback to Karaf 4.2.9?
Best regards,
Lukas