microsoft / microsoft/vscode-java-debug
Flink official demo debug will get error :Cannot find a class with the main method
オープン
まだ誰も着手していません。
ai-triaged
buildtool
question
- 主要言語
- TypeScript
- スター
- 591
- フォーク
- 429
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 19
説明
[provide a description of the issue]
Environment
- Operating System:macos 10.14.1
- JDK version: 1.8.0_144
- Visual Studio Code version:1.29.1
- Java extension version:0.4.0
- Java Debugger extension version:0.15.0
Steps To Reproduce
- curl https://flink.apache.org/q/quickstart.sh | bash -s 1.6.1
- open the quickstart dir with vscode and press F5 to debug,will get the error:

- if I assign the class in launch.json, I will get another error:

[attach a sample project reproducing the error]
attach logs
Current Result
Cannot find a class with the main method
Expected Result
Could debug well.
Additional Informations
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
指定された macOS、JDK、VS Code、拡張機能のバージョンを使って、Flink 1.6.1 quickstart の失敗を再現します。生成されたプロジェクトと launch.json を調査し、その後、F5 のクラス検出と明示的に割り当てられたクラスを比較します。公式デモが報告された2つのエラーのいずれも発生させずにデバッグを開始できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100