Skip to content

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

@rockxsj

Description

@rockxsj

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions