How to solve java.lang.NoClassDefFoundError?

I try and get simple solution is like below:

Here I explain how to solve this type of error.
Step:1-Check the class path in evironment variables.
Step:2-I opened project in navigator of eclipse and check the class files.

Here my class file are in different folder not in bin folder.

Step:3-Simple I just copied different folder class files to bin folder.
Step:4-Then last copy .class files to bin directory of your eclipse.

My problem is resolved by above solution and hope also your problem will be resolve.


About the Author