[
https://issues.jboss.org/browse/ISPN-9977?page=com.atlassian.jira.plugin....
]
Benjamin Schröder commented on ISPN-9977:
-----------------------------------------
Hey, thanks for looking into this. I did not use the maven shade plug in at all. I used
the latest spring-boot-maven-plugin with the _repackage_ goal.
https://github.com/ben-schroeder/infinispan-ncdfe/blob/master/pom.xml
So you think this is a spring-boot-maven-plugin issue?
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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)