redhat-developer / redhat-developer/vscode-java

cannot work with maven mutil module project

Open
#3,163 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

[provide a description of the issue]
can't work with mutil module maven project

Environment
  • Operating System:windows
  • JDK version:project jdk 1.8 extension jdk is opejdk20
  • Visual Studio Code version:the last
  • Java extension version:the last
Steps To Reproduce

the project directory is like this
.
|----module1
|  |----module1-spring
|    |----pom.xml
|  |----module1-common
|    |----pom.xml
|  |----pom.xml
|----module2
|  |----module2-util
|    |----pom.xml
|  |----module2-common
|    |----pom.xml
|  |----pom.xml
|----pom.xml
every module can display in java project view and maven project view, but the lsp can't work.
the log just give one error unsupported policy: warm:

[Please attach a sample project reproducing the error]
Please attach logs

Current Result
Expected Result
Additional Informations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the nested multi-module Maven project on Windows with project JDK 1.8 and extension JDK OpenJDK 20, then enable the Java extension logs. Use the reported unsupported policy: warm: error and the project structure as starting points; done means the project loads and LSP features work without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
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.