[infinispan-issues] [JBoss JIRA] (ISPN-9977) 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
Tristan Tarrant (Jira)
issues at jboss.org
Mon Feb 18 05:18:00 EST 2019
[ https://issues.jboss.org/browse/ISPN-9977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696469#comment-13696469 ]
Tristan Tarrant commented on ISPN-9977:
---------------------------------------
This looks like further manifestation of https://github.com/spring-projects/spring-boot/issues/12523
> 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)
More information about the infinispan-issues
mailing list