You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julian Wood (JIRA)" <ji...@codehaus.org> on 2007/11/16 19:45:28 UTC
[jira] Created: (SUREFIRE-373) java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/cli/StreamConsumer regression bug in
surefire-booter-2.4-20071116.171416-19 snapshot
java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer regression bug in surefire-booter-2.4-20071116.171416-19 snapshot
---------------------------------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-373
URL: http://jira.codehaus.org/browse/SUREFIRE-373
Project: Maven Surefire
Issue Type: Bug
Affects Versions: 2.4
Environment: java 1.5.0_07-164, osx 10.4.10
Reporter: Julian Wood
Well, surefire 2.4 snapshot was working fine yesterday, but today, a new snapshot was downloaded and it broke.
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
885b downloaded
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from tlc
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from LCCR-M2
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.pom
1K downloaded
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.jar
28K downloaded
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.jar
49K downloaded
[INFO] [surefire:test]
Downloading: http://commons.ucalgary.ca/pub/m2/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
[INFO] snapshot org.apache.maven.surefire:surefire-junit:2.4-SNAPSHOT: checking for updates from tlc
[INFO] snapshot org.apache.maven.surefire:surefire-providers:2.4-SNAPSHOT: checking for updates from tlc
[INFO] Surefire report directory: /Users/woodj/Documents/psgrades/psgrades/trunk/target/surefire-reports
[INFO] Building jar: /tmp/surefirebooter59025.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Here's my config (pom hasn't changed in weeks):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-javaagent:${user.home}/.m2/repository/mockit/jmockit/0.8.5/jmockit-0.8.5.jar</argLine>
<useSystemClassLoader>true</useSystemClassLoader>
</configuration>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SUREFIRE-373) java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/cli/StreamConsumer regression bug in
surefire-booter-2.4-20071116.171416-19 snapshot
Posted by "Julian Wood (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114096 ]
Julian Wood commented on SUREFIRE-373:
--------------------------------------
You are right.
Although the above trace seems to indicate that the latest 2.4-SNAPSHOT was downloaded, it wasn't done properly. I had moved any reference to snapshot repositories out of my pom some time ago, so I don't actually know how it even downloaded what it did - I don't think it should have. Anyway, I had moved the snapshot repository config to my settings.xml, so running mvn -Papache test, which invoked my profile containing the snapshot repo config, allowed all the remaining dependencies (of which there are dozens) to download.
Now I get your incompatible class change error.
Also, 2.3.1-SNAPSHOT works. I didn't realize SUREFIRE-298 made it into 2.3.1. Is 2.3.1 going to be released any time soon?
I think this issue can be closed.
> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer regression bug in surefire-booter-2.4-20071116.171416-19 snapshot
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-373
> URL: http://jira.codehaus.org/browse/SUREFIRE-373
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: java 1.5.0_07-164, osx 10.4.10
> Reporter: Julian Wood
> Fix For: 2.4
>
>
> Well, surefire 2.4 snapshot was working fine yesterday, but today, a new snapshot was downloaded and it broke.
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
> 885b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from LCCR-M2
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.pom
> 1K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.jar
> 28K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.jar
> 49K downloaded
> [INFO] [surefire:test]
> Downloading: http://commons.ucalgary.ca/pub/m2/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
> [INFO] snapshot org.apache.maven.surefire:surefire-junit:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] snapshot org.apache.maven.surefire:surefire-providers:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] Surefire report directory: /Users/woodj/Documents/psgrades/psgrades/trunk/target/surefire-reports
> [INFO] Building jar: /tmp/surefirebooter59025.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> Here's my config (pom hasn't changed in weeks):
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <argLine>-javaagent:${user.home}/.m2/repository/mockit/jmockit/0.8.5/jmockit-0.8.5.jar</argLine>
> <useSystemClassLoader>true</useSystemClassLoader>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SUREFIRE-373) java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/cli/StreamConsumer regression bug in
surefire-booter-2.4-20071116.171416-19 snapshot
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-373:
----------------------------------
Fix Version/s: 2.4
have you tried 2.3.1?
Can you post a test project for this? I get an incompatible class change because of the plexus archiver, but not this error.
> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer regression bug in surefire-booter-2.4-20071116.171416-19 snapshot
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-373
> URL: http://jira.codehaus.org/browse/SUREFIRE-373
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: java 1.5.0_07-164, osx 10.4.10
> Reporter: Julian Wood
> Fix For: 2.4
>
>
> Well, surefire 2.4 snapshot was working fine yesterday, but today, a new snapshot was downloaded and it broke.
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
> 885b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from LCCR-M2
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.pom
> 1K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.jar
> 28K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.jar
> 49K downloaded
> [INFO] [surefire:test]
> Downloading: http://commons.ucalgary.ca/pub/m2/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
> [INFO] snapshot org.apache.maven.surefire:surefire-junit:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] snapshot org.apache.maven.surefire:surefire-providers:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] Surefire report directory: /Users/woodj/Documents/psgrades/psgrades/trunk/target/surefire-reports
> [INFO] Building jar: /tmp/surefirebooter59025.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> Here's my config (pom hasn't changed in weeks):
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <argLine>-javaagent:${user.home}/.m2/repository/mockit/jmockit/0.8.5/jmockit-0.8.5.jar</argLine>
> <useSystemClassLoader>true</useSystemClassLoader>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (SUREFIRE-373) java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/cli/StreamConsumer regression bug in
surefire-booter-2.4-20071116.171416-19 snapshot
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed SUREFIRE-373.
---------------------------------
Assignee: Brett Porter
Resolution: Won't Fix
Fix Version/s: (was: 2.4)
yes, 2.3.1 is very close
> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer regression bug in surefire-booter-2.4-20071116.171416-19 snapshot
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-373
> URL: http://jira.codehaus.org/browse/SUREFIRE-373
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: java 1.5.0_07-164, osx 10.4.10
> Reporter: Julian Wood
> Assignee: Brett Porter
>
> Well, surefire 2.4 snapshot was working fine yesterday, but today, a new snapshot was downloaded and it broke.
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
> 885b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot org.apache.maven.surefire:surefire-api:2.4-SNAPSHOT: checking for updates from LCCR-M2
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.pom
> 1K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.jar
> 28K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/surefire-api/2.4-SNAPSHOT/surefire-api-2.4-20071116.171416-16.jar
> 49K downloaded
> [INFO] [surefire:test]
> Downloading: http://commons.ucalgary.ca/pub/m2/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-20071116.171416-19.pom
> [INFO] snapshot org.apache.maven.surefire:surefire-junit:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] snapshot org.apache.maven.surefire:surefire-providers:2.4-SNAPSHOT: checking for updates from tlc
> [INFO] Surefire report directory: /Users/woodj/Documents/psgrades/psgrades/trunk/target/surefire-reports
> [INFO] Building jar: /tmp/surefirebooter59025.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/cli/StreamConsumer
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> Here's my config (pom hasn't changed in weeks):
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <argLine>-javaagent:${user.home}/.m2/repository/mockit/jmockit/0.8.5/jmockit-0.8.5.jar</argLine>
> <useSystemClassLoader>true</useSystemClassLoader>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira