]
Katia Aresti resolved ISPN-9977.
--------------------------------
Resolution: Done
Upgrading to Spring-Boot 2.1.4.RELEASE fixes the issue. Releasing the starter today
java.lang.NoClassDefFoundError:
org/infinispan/commons/util/FastCopyHashMap$Values (wrong name:
org/infinispan/commons/dataconversion/BinaryEncoder) when starting in repackaged Spring
Boot jar with Java 11
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: ISPN-9977
URL:
https://issues.jboss.org/browse/ISPN-9977
Project: Infinispan
Issue Type: Bug
Components: Spring Integration
Affects Versions: 10.0.0.Alpha3, 9.4.6.Final
Environment: * ubuntu 16.04
* openjdk 11.0.1
* maven 3.6.0
* spring boot 2.1.2.RELEASE
* infinispan-spring-boot-starter 2.1.3.Final (and 2.1.4-SNAPSHOT)
Reporter: Benjamin Schröder
Assignee: Katia Aresti
Priority: Major
The infinispan-spring-boot-starter will fail with
{code:java}
java.lang.NoClassDefFoundError: org/infinispan/commons/util/FastCopyHashMap$Values (wrong
name: org/infinispan/commons/dataconversion/BinaryEncoder)
{code}
when ran in an repackaged Spring Boot jar if built and ran with Java 11. It works if
built and ran with Java 8. It works with Java 11 too but only if ran with mvn
spring-boot:run
It can be reproduced with the infinispan-spring-boot-samples. (see steps to reproduce).
Otherwise there is a demo project linked here:
https://stackoverflow.com/questions/54635814