Eclipse cannot create runnable jar - No resources selected

前端 未结 13 1774
失恋的感觉
失恋的感觉 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:07

    Try this, this is the way to create a jar or runnable jar in eclipse, all your external libraries in the project will be included

    File -> Export-> Java ->Runnbale JAR file
    
    Launch configuration : your Class containing the public static void main(String[] args)
    
    Export destination : Target place
    
    Library Handling:
    
    Package required libraries into generated JAR
    
    FINISH
    

提交回复
热议问题