eclipse无法加载main方法,editor does not contain a main type(找不到或无法加载主类)

在左侧的package explorer中右击这个class所在包的上一级目录

--build path--use as source folder,重新打开class,再run一下。


原文链接:https://blog.csdn.net/u010125432/article/details/80353198

猜你喜欢

转载自blog.csdn.net/weixin_43507339/article/details/121473827
今日推荐