Why “Error: Could not find or load main class addstudent.AddStudent” is showing

前端 未结 3 1403
醉话见心
醉话见心 2021-01-24 11:29

I am developing a project using NetBeans IDE. I am new to javafx. I created a class \"AddStudent\" in a package named \"addstudent\". When I ran the class, I got \"Error: Could

3条回答
  •  情话喂你
    2021-01-24 11:41

    In my case, the problem was the project path had some special (russian) chars, like

    C:\Dev\Папка\MyApp\
    

    Once moved to another folder, it worked:

    C:\Dev\Good one\MyApp\
    

    Also:

    • these characters are OK: äöü!@#$%^&_+-``~_',
    • these are not: №;

提交回复
热议问题