Closed GoogleCodeExporter closed 9 years ago
javassist jar is missing in your classpath, would probably have to add it to
the lib directory:
java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
other option is to save scanned metadata and use Reflections.collect method, so
that javassist is not needed and bootstrap is faster. check how in the wiki
Original comment by ronm...@gmail.com
on 26 Oct 2010 at 7:39
The WAR of my application contains javaassist-3.8.0.jar in de /lib folder (as a
result of a maven build). IMO the NoClassDefFoundError does not always indicate
the cause of the problem. In the stack, I noticed the classes are loaded in
other threads ; this might contribute to the concurrency problems I see. I will
spent some more time there.
I like your suggestion to pre-scan the classes and use that metadata on
runtime. Thx!
Original comment by ernest.m...@gmail.com
on 26 Oct 2010 at 7:55
Original issue reported on code.google.com by
ernest.m...@gmail.com
on 26 Oct 2010 at 7:07