Eclipse cannot create runnable jar - No resources selected

前端 未结 13 1759
失恋的感觉
失恋的感觉 2020-12-29 19:35

When I try to export my project as a runnable jar Eclise gives me the following error:

No resources selected.

The project runs fine within Eclipse, I already

13条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-29 20:16

    This is basically happen when you change package name under which you made your program. This will create confusion regarding package, as per program export, main method still written in old package. To resolve it, Just copy it and paste it in same package with different name and then try to export it. Check for log too.

提交回复
热议问题