Does that class or something it depends on have the possibility of
failing in a static initializer?
A NoClassDefFoundError frequently masks the underlying cause, due to
the way the JVM loads classes. Something might be throwing a
NullPointerException with a more obvious error message, but the
James,
Thanks for the hint. The problem was a misspelt class name in a
resource file that was causing an exception in the initializer of the
CacheFactory.
Regards,
Daniel del Castillo
--
-DdC
On 5/14/07, James Abley [EMAIL PROTECTED] wrote:
Does that class or something it depends on have the
Hi,
I'm using Maven 2.0.4 and I'm having a problem when running the test
goal. The surefire reports say that a class
(com.sinergiainc.aliasfox.commons.cache.CacheFactory) of the component
I'm testing is missing. The exact report is:
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time
Hi Daniel,
Add the artifact that contains the respective class to your project with the
correct scope, i.c. test.
Good luck
Jo
On 5/13/07, Daniel del Castillo [EMAIL PROTECTED] wrote:
Hi,
I'm using Maven 2.0.4 and I'm having a problem when running the test
goal. The surefire reports say
Hi Jo,
Thanks for support. The artifact is the project itself. If I add it to
the dependencies I get an error of cyclic redundancy:
[INFO] Scanning for projects...
[INFO]
[ERROR] BUILD FAILURE
[INFO]