Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不幸的是,我删除了我的 netbeans 项目的主类。现在运行我的 jar 文件显示错误为“找不到主类”。我应该怎么办?如何重建主类。我的项目名称是“netbeans1”,其源包包含“myproject1”作为子包。myproject1 包含我项目的所有形式。我应该为 netbeans1 还是为 myproject1 制作主类?如何制作?请帮忙。您的帮助将不胜感激!
你可以这样试试
Right click on the folder/directory that the files had been deleted. Choose Local History – Restore Deleted Done