Benjamin Schröder created ISPN-9977:
---------------------------------------
Summary: 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: 9.4.6.Final, 10.0.0.Alpha3
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
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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)