Did you recently updated your eclipse android plugin (adt r17)? Then the following link might help:
[How to fix the classdefnotfounderror with adt-17][1]
[1]: http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17
If not then post some code.