Please help, my head is spinning with confusion...
I've 3 projects:
a) an Ear project containing:
b) a Web project &
c) a utility "Framework"
Java project
I have project references from the Ear to the Web & Java projects,
and from the Web to the Java project.
The Java project is also on the build path for the Web project.
The Java project needs to use log4j-1.2.8.jar. Since this isn't
standarly included by WSAD, I've created a 'lib' folder within the
project, placed the jar in there & then used 'Add JAR' to add the
library to the build path.
I didn't put the log4j.jar in the Ear, cos I want to be able to use
the Java project in other Ears potentially.
Everything compiles OK, but I get the dreaded NoClassDefFound (
of a class in the log4j.jar) when the Web code runs code in the Java project for the first time.
Obviously some classpath issue but I don;t know how to start sorting it out.
Can anyone help?