apache / apache/lucene

Unable to find antlr4.runtime [LUCENE-10465]

Open
#11,501 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor tool:build type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

While running the trunk version of Lucene on Intellij, I'm getting the below error and unable to fix it.

Error occurred during initialization of boot layer
java.lang.module.FindException: Module antlr4.runtime not found, required by org.apache.lucene.expressions

---
Migrated from [LUCENE-10465](https://issues.apache.org/jira/browse/LUCENE-10465) by Muler

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported trunk build in IntelliJ and inspect the module setup around org.apache.lucene.expressions. The report names no files or tests; the issue is resolved when IntelliJ can start Lucene without reporting that antlr4.runtime is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.