redhat-developer / redhat-developer/vscode-java

non-project file, only JDK classes are added to its build path

オープン
#3,693 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

[provide a description of the issue]

Environment
  • Operating System: window 11
  • JDK version: 17
  • Visual Studio Code version: 1.90
  • Java extension version: v0.27.0
Steps To Reproduce
  1. [step 1] clone project
  2. [step 2] set datasource (/redisChat/src/main/resources/application.yml)
    (I was using h2 in this project.)
  3. [step 3] run redisChatApplication.java

[Please attach a sample project reproducing the error]
https://github.com/0gon/hung_chit_chat
[Please attach logs]

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
        SpringApplication cannot be resolved

        at com.redis.redisChat.demo.RedisChatApplication.main(RedisChatApplication.java:10)
Current Results

Added two modules to practice the msa method. kafkaChat, redischat.
It works fine on the pc that created the project, but I try to clone it and run it on another pc, so I can't get spring boot dependency.

Estimated results

Maybe when I clone it, I don't think I recognize the folder as a module or project, but as a simple folder.

I've looked in many directions. But I'm sorry I'm a beginner, and I don't know any more because I lack clues.

Additional Informations

sp20240707_222836_079

sp20240707_222952_816

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている hung_chit_chat プロジェクト、そのモジュール、および redisChat/src/main/resources/application.yml から始め、報告されている JDK と拡張機能のバージョンを使用して、VS Code で RedisChatApplication.java を実行します。クローンしたプロジェクトの動作を、報告されている未解決の SpringApplication エラーと比較します。Spring Boot の依存関係が不足している原因、またはプロジェクトが認識されない原因が文書化され、クローンしたアプリケーションが依存関係を解決できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, kafka, redis, spring-boot, vscode
領域
build-system, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。