Very basic error i got during programming time in eclipse IDE. Where simple main class cannot run and give bellow error. I found one solution for it.
Error : Could not find or load main class
1) Right click on your project directory.
2) Go to "Properties"
3) Select "Java Build Path" option from left side list.
4) Check "Allow output folders for source folder" at the bottom of the window.
5) Run again your class.
This is a one of the many way used for this error. Please comment if you solve by another way to help others.
No comments:
Post a Comment