Reputation: 89
I Have DataLayer and logicLayer as packages in my project. I want to delete the default package since I do not need it. But When I delete I got the following error.
Error: Could not find or load main class
How can I slove this problem?
Upvotes: 4
Views: 18828
Reputation: 1
just create a package and it will solve the problem. Then relauch your application.
Upvotes: 0
Reputation: 4601
Move your main class from the default package to any other package and then a simple refresh would solve the problem.
Upvotes: 8
Reputation: 89
The problem is that the default packeg is contains a class which is empty but cause problem.As soon as I delete that class the package is delete automatically.
Upvotes: 0