redhat-developer / redhat-developer/vscode-java

Unrecognized Spring Boot project issue

未关闭
#4,015 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先打开附带的示例项目 vscode-java-maven.zip,并使用 Takari lifecycle plugin 重现该行为。将项目识别和 Configure JDK Runtime 与 Maven compile plugin 进行比较,然后验证在使用 Maven 和 Takari 构建时,Spring Boot Dashboard 和 Java project configuration 是否正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, spring-boot, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。