Skip to content Skip to sidebar Skip to footer

No Class Defination Found Error Even If There Is No Issues

I am trying to clean, change the order of import/export in eclipse,check the package name like 100 times now still i m getting java.lang.NoClassDefFoundError...Its not working only

Solution 1:

just try this

This worked for me..Thanks all

Solution 2:

Yes, this because of your .jar file didn't import properly. Follow below steps -

  1. Place your .jar file in your project's libs folder.

  2. Import it into your project. And, GoTo project -> properties -> Java build path -> order tab.

  3. Check, whether your .jar file checked and placed in order of 1st. This is the main thing.

Hope these steps helps you. Have a look at below image -

image

Solution 3:

If you had put your jar files in lib folder change its name to libs. Then build path from that libs folder.

Post a Comment for "No Class Defination Found Error Even If There Is No Issues"