SYaoJun opened a new issue, #777:
URL: https://github.com/apache/geaflow/issues/777

   **Describe the bug**
   The `geaflow-dsl-connector-elasticsearch` module fails to compile under Java 
8 with the following error:
   
   ```
   bad class file: 
lucene-core-9.8.0.jar(org/apache/lucene/util/Accountable.class)
     class file has wrong version 55.0, should be 52.0
   ```
   ref: 
https://github.com/apache/geaflow/actions/runs/22855488809/job/66396165910?pr=763
   
   Two PRs introduced a conflict:
   
   PR #653 added the Elasticsearch connector, which transitively depends on 
lucene-core:8.x (Java 8 compatible) via 
elasticsearch-rest-high-level-client:7.17.10
   PR #637 added the vector store module and declared lucene-core:9.8.0 in the 
parent pom's <dependencyManagement>. Since dependencyManagement applies 
globally across all modules, this forced the ES connector's transitive 
lucene-core to be upgraded to 9.8.0, which is compiled with Java 11 (class 
version 55.0) and is incompatible with the Java 8 build target.
   
   **fix**
   In pom.xml, exclude lucene-core from the ES client dependency and explicitly 
re-declare lucene-core:8.11.1 to pin the Java 8 compatible version.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to