-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flink official demo debug will get error :Cannot find a class with the main method #478
Comments
@testforstephen I reproed issue. Also, this issue can be happened inside eclipse. You can track this on the project side. @rockxsj Could you try to open this project on eclipse IDE to see whether the auto complete working on eclipse IDE? |
Seems a bug in eclipse maven importer not work with
or remove the
|
tks! this workaround work well! 👍 |
@andxu 请问下mac要怎么做? |
@Zeus-Iqd 是同样的项目吗?如果是的话,在pom.xml里删掉lifecycle-mapping插件,如果不是的话,可不可以attach一个你的project? |
@andxu |
This bug still remains. As andxu said, removing the eclipse plugins stuff from the pom solves the problem. Big thanks, I was about to give up. |
I have had the same issue (end of 2020) - failed to run/debug and no linting / code completion etc. Manually removed the Eclipse dependency from Given that the documentation do not recommend using Eclipse - maybe that plugin should be removed from the template... |
I was about to give up and switch to IntelliJ IDEA. Thank you all! |
1 similar comment
I was about to give up and switch to IntelliJ IDEA. Thank you all! |
Can confirm still a problem - was about to switch to IDEA or eclipse, thank you for the answer |
I think this is the problem of this out of date Flink demo, but not java plugin. Like they use the retired Apache Maven Eclipse Plugin, which causes this problem, and they also use the deprecated API of Flink by themselves. So I think at least this issue can be closed. |
@tasty0tomato I am trying to get Flink to work with Visual Studio code. I cannot get this working with the current Flink demo; are you saying that this works with latest Flink demo? |
@davidradl Please delete the |
@tasty0tomato thanks for you quick response - I will give it a go |
[provide a description of the issue]
Environment
Steps To Reproduce
[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
The text was updated successfully, but these errors were encountered: