[Sandbox] NoClassDefFoundError:
Hi,
when executing a plugin within the sandbox I get a NoClassDefFoundError.
The class that is not found, is configured as library.
My directory structure within the sandbox looks like this (have deleted the complete directory before):
/idea-sandbox/
config (...)
system (...)
plugins
CAP.ui.idea
META-INF (...)
classes (with all my plugin classes - found correctly)
lib
junit.jar
log4j.jar
classes (with all library classes - but not found --> ClassDefNotFoundError)
Can anybody help me?
Please sign in to leave a comment.
I have copied all files from
plugins/lib/classes
to
plugins/classes
and they are found now... But that is not the way it should work...
Johannes Schneider wrote:
I don't think lib/classes is supported. All classes /not/ packaged into a .jar have to
go into /classes and jars go into ]]>/lib. Is it IDEA that copies the
classes there or is that something you set up yourself?
Sascha
Idea itself copies the library files to "lib/classes"...
Johannes Schneider wrote:
I guess that's a bug then :)
Sascha