redhat-developer / redhat-developer/vscode-java

Unrecognized Spring Boot project issue

Open
#4,015 0 comments 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

Plugin

<plugin>
     <groupId>io.takari.maven.plugins</groupId>
     <artifactId>takari-lifecycle-plugin</artifactId>
     <version>2.1.1</version>
</plugin>

https://github.com/microsoft/vscode-spring-boot-dashboard/issues/356

When I use the takari compilation plugin, it causes my project to not be correctly recognized as a Java project, and the Configure JDK Runtime cannot be configured.

I initially discovered this issue because the Spring Boot Dashboard could not display the Spring project information, and later found that the Configure JDK Runtime could not be configured either, suspecting that there might be a problem with the vscode-java extension.

Image

When I switch to the Maven compile plugin, it works fine, but I can normally build the project with the Takari plugin through Maven, and this works properly in Jetbrains IDEA.

The following is a sample project

vscode-java-maven.zip

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

Start by opening the attached vscode-java-maven.zip sample project and reproducing the behavior with the Takari lifecycle plugin. Compare project recognition and Configure JDK Runtime with the Maven compile plugin, then verify that the Spring Boot Dashboard and Java project configuration work correctly while building through Maven with Takari.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.