[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
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9977?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-9977:
---------------------------------------
What version of the maven shade plugin is being used ?
> 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)
5 years, 11 months
[JBoss JIRA] (ISPN-9976) Query still has a hard dependency on Elasticsearch
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9976?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9976:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Query still has a hard dependency on Elasticsearch
> --------------------------------------------------
>
> Key: ISPN-9976
> URL: https://issues.jboss.org/browse/ISPN-9976
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying, Remote Querying
> Affects Versions: 10.0.0.Alpha3, 9.4.6.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Beta1, 9.4.7.Final
>
>
> ISPN-9795 Made the {{org.hibernate.search.elasticsearch}} module optional in our feature-packs, however in `infinispan-query`there is an unchecked call to {{org.hibernate.search.elasticsearch.bridge.builtin.impl.ElasticsearchDateBridge}} regardless of whether Elasticsearch is actually available on the classpath. This results in a {{NoClassDefFoundError}} whenever {{HibernateSearchPropertyHelper#convertToPropertyType}} is called and Elasticsearch is not available. For example when deploying the wfly-modules to a wfly instance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 11 months
[JBoss JIRA] (ISPN-9976) Query still has a hard dependency on Elasticsearch
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9976?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-9976:
-------------------------------
Sprint: Sprint 10.0.0.Beta1
> Query still has a hard dependency on Elasticsearch
> --------------------------------------------------
>
> Key: ISPN-9976
> URL: https://issues.jboss.org/browse/ISPN-9976
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying, Remote Querying
> Affects Versions: 10.0.0.Alpha3, 9.4.6.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Beta1, 9.4.7.Final
>
>
> ISPN-9795 Made the {{org.hibernate.search.elasticsearch}} module optional in our feature-packs, however in `infinispan-query`there is an unchecked call to {{org.hibernate.search.elasticsearch.bridge.builtin.impl.ElasticsearchDateBridge}} regardless of whether Elasticsearch is actually available on the classpath. This results in a {{NoClassDefFoundError}} whenever {{HibernateSearchPropertyHelper#convertToPropertyType}} is called and Elasticsearch is not available. For example when deploying the wfly-modules to a wfly instance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 11 months
[JBoss JIRA] (ISPN-9976) Query still has a hard dependency on Elasticsearch
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9976?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-9976:
-------------------------------
Status: Open (was: New)
> Query still has a hard dependency on Elasticsearch
> --------------------------------------------------
>
> Key: ISPN-9976
> URL: https://issues.jboss.org/browse/ISPN-9976
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying, Remote Querying
> Affects Versions: 10.0.0.Alpha3, 9.4.6.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Beta1, 9.4.7.Final
>
>
> ISPN-9795 Made the {{org.hibernate.search.elasticsearch}} module optional in our feature-packs, however in `infinispan-query`there is an unchecked call to {{org.hibernate.search.elasticsearch.bridge.builtin.impl.ElasticsearchDateBridge}} regardless of whether Elasticsearch is actually available on the classpath. This results in a {{NoClassDefFoundError}} whenever {{HibernateSearchPropertyHelper#convertToPropertyType}} is called and Elasticsearch is not available. For example when deploying the wfly-modules to a wfly instance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 11 months
[JBoss JIRA] (ISPN-9976) Query still has a hard dependency on Elasticsearch
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9976?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-9976:
-------------------------------
Summary: Query still has a hard dependency on Elasticsearch (was: Query still has hard dependency on Elasticsearch)
> Query still has a hard dependency on Elasticsearch
> --------------------------------------------------
>
> Key: ISPN-9976
> URL: https://issues.jboss.org/browse/ISPN-9976
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying, Remote Querying
> Affects Versions: 10.0.0.Alpha3, 9.4.6.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Beta1, 9.4.7.Final
>
>
> ISPN-9795 Made the {{org.hibernate.search.elasticsearch}} module optional in our feature-packs, however in `infinispan-query`there is an unchecked call to {{org.hibernate.search.elasticsearch.bridge.builtin.impl.ElasticsearchDateBridge}} regardless of whether Elasticsearch is actually available on the classpath. This results in a {{NoClassDefFoundError}} whenever {{HibernateSearchPropertyHelper#convertToPropertyType}} is called and Elasticsearch is not available. For example when deploying the wfly-modules to a wfly instance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 11 months
[JBoss JIRA] (ISPN-9976) Query still has hard dependency on Elasticsearch
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-9976:
----------------------------------
Summary: Query still has hard dependency on Elasticsearch
Key: ISPN-9976
URL: https://issues.jboss.org/browse/ISPN-9976
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying, Remote Querying
Affects Versions: 9.4.6.Final, 10.0.0.Alpha3
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.0.0.Beta1, 9.4.7.Final
ISPN-9795 Made the {{org.hibernate.search.elasticsearch}} module optional in our feature-packs, however in `infinispan-query`there is an unchecked call to {{org.hibernate.search.elasticsearch.bridge.builtin.impl.ElasticsearchDateBridge}} regardless of whether Elasticsearch is actually available on the classpath. This results in a {{NoClassDefFoundError}} whenever {{HibernateSearchPropertyHelper#convertToPropertyType}} is called and Elasticsearch is not available. For example when deploying the wfly-modules to a wfly instance.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 11 months