microsoft / microsoft/vscode-java-debug

Flink official demo debug will get error :Cannot find a class with the main method

未關閉
#478 17 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

ai-triaged buildtool question
主要語言
TypeScript
星號
591
分支
429
平均合併
1 天 9 小時
30 天內合併 PR
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
  1. curl https://flink.apache.org/q/quickstart.sh | bash -s 1.6.1
  2. open the quickstart dir with vscode and press F5 to debug,will get the error:
    image
  3. if I assign the class in launch.json, I will get another error:
    image

[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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

使用列出的 macOS、JDK、VS Code 和擴充功能版本,重現 Flink 1.6.1 quickstart 中的失敗。檢查產生的專案和 launch.json,然後比較 F5 的類別探索結果與明確指派的類別;當官方示範能在不出現所回報的兩個錯誤中的任何一個的情況下開始偵錯時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, vscode
領域
devtools
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。