The real issue is, there's some annotation whose value uses a class which isn't in the classpath. For example:
@SomeAnnotation (value = SomeClassNotInClasspath.class)
public class SomeClass
You'll have to make sure that the "SomeClassNotInClasspath" is made available in the classpath (for example, by packaging it in your app).