0

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 for three classes and all others are working fine..what can be the issue..The three classes were not added recently but were from before and i just changed and renamed my package name...still my code works but the three classes(activities) are creating problem...the heirachy of the three are same with others they come in the same package..

I m stuck...plzzz help

sheetal
  • 3,014
  • 2
  • 31
  • 45

3 Answers3

0

just try this

This worked for me..Thanks all

Community
  • 1
  • 1
sheetal
  • 3,014
  • 2
  • 31
  • 45
0

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

Praveenkumar
  • 24,084
  • 23
  • 95
  • 173
0

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

Akhilesh Mani
  • 3,502
  • 5
  • 28
  • 59