在导出可执行jar包的时候总是报错说找不到main方法入口:
Could not find main method from given launch configurationCould not find main method from given launch configuration是在选择launch configure的时候没有找到工程对应的main,选择自己工程对应的main即可

如果你分辨不清哪个launch是你想要的,简单的做法就是去你的工作目录/.metadata/.plugins/org.eclipse.debug.core/.launches,把这个文件夹清空,重启eclipse。

重新运行下你的项目,再导出就可以了。

相关文章:

  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2021-10-25
  • 2022-12-23
  • 2021-08-21
猜你喜欢
  • 2021-12-17
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-09-24
相关资源
相似解决方案