“Could not find the main class: XX. Program will exit.”

后端 未结 2 763
醉话见心
醉话见心 2020-12-16 15:10

I have managed to run my jar file with a command prompt, but its always giving me a reponse of

Could not find the main class: XX. Program will exit.

2条回答
  •  离开以前
    2020-12-16 15:44

    I had the same error. The problem was that Windows 10 suddenly decided to set my workspace folder to read-only.

    After removing the read-only checkmark in the folder's options, the problem was solved.

提交回复
热议问题