程序在netbeans 中run可以成功運行
但在netbeans build 完一個jar 之後,運行jar時就出現
could not find the main class,program will exit
看過這里論壇的其他這個問題的文章,但都不是太明白,是那里出錯呢?為什麼在IDE環境中可以正常運行?
...全文
10355打赏收藏
Jar 文件運行時出現could not find the main class,program will exit
程序在netbeans 中run可以成功運行 但在netbeans build 完一個jar 之後,運行jar時就出現 could not find the main class,program will exit 看過這里論壇的其他這個問題的文章,但都不是太明白,是那里出錯呢?為什麼在IDE環境中可以正常運行?