The dreaded java.lang.NoClassDefFoundError

后端 未结 7 1500
隐瞒了意图╮
隐瞒了意图╮ 2020-12-10 18:13

I\'ve looked through many of the existing threads about this error, but still no luck. I\'m not even trying to package a jar or use any third-party packaging tools. I\'m s

7条回答
  •  醉梦人生
    2020-12-10 18:42

    Consider File -> Export -> Runnable jar to create a jar file which can be invoked directly with

    java -jar yourProgram.jar
    

    There are several variants depending on your needs.

提交回复
热议问题