maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesc Xavier (JIRA)" <>
Subject [jira] Created: (MSUREFIRE-157) ClassNotFoundException or NoClassDefFoundError executing maven2 install
Date Mon, 07 Aug 2006 13:55:09 GMT
ClassNotFoundException or NoClassDefFoundError executing maven2 install

                 Key: MSUREFIRE-157
             Project: Maven 2.x Surefire Plugin
          Issue Type: Wish
         Environment: eclipse 3.2, windows XP and j2se 1.4.2
            Reporter: Francesc Xavier


first all congratultions for your execellent job. We are using Maven2 in order to develop
a project. This project has several modules with dependencies among them, reflected in their
pom's. When we try to execute a test from the project root in command line (typing mvn test)
all works fine, but when we try to execute 'mvn install', all the tests of modules that have
dependencies with other modules (in our case, the core module) begins to fail throwing a java.lang.NoClassDefFoundError.
Moreover, when we try to execute the same tests to the specific module the same error is produced.

Pom parent has the following definitons

<?xml version="1.0" encoding="UTF-8"?>

	<name>NexTReT Open Framework</name>

(we have not included the dependencies that all are correctly retrieved from repository) and
every pom module chlid has 


(also including the dependency of core module in dependencies element)

any suggestion ?? we have to skip all the tests (currently executed in eclipse), but we realize
that are not the best way!!

Thanks a lot!!

Francesc Xavier

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message