Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1498

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1498
    Summary: java.lang.NoClassDefFoundError: 
org/apache/commons/logging/LogFactory
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: Boris Kraft

    Created: Wed, 10 Nov 2004 3:44 AM
    Updated: Wed, 10 Nov 2004 3:44 AM
Environment: OSX 10.3.6
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)


Description:
I have installed maven on OSX but trying to use it on a real project fails with 
the following message:

Attempting to download commons-jelly-1.0-beta-4.jar.
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory


Details:
I have installed maven on OSX 10.3 by following the description here:
http://homepage.mac.com/melowe/B1485844447/C633227215/E1653984186/
and also from the maven installation docs (creating the repository using 
install_repo.sh)

I have used cvs to check out the maven source from the repository and try to 
run maven on itself. Originally I used maven on the jackrabbit source, with the 
same error:

----- 8< -------------

% maven -e jar
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Attempting to download commons-jelly-1.0-beta-4.jar.
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at 
org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:100)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:356)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
        at 
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
        at 
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
        at 
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
        at 
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
        at 
org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
        at org.apache.maven.cli.App.doMain(App.java:486)
        at org.apache.maven.cli.App.main(App.java:1215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

----- 8< -------------



Maven -x gives me:

----- 8< -------------
% maven -X
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Initializing Plugins!
Set plugin source directory to /Developer/Java/Maven/plugins
Set unpacked plugin directory to /Users/kraft/Library/Maven/cache
Set user plugin directory to /Users/kraft/Library/Maven/plugins
Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-scm-plugin-1.4'
Loading plugin 'maven-cruisecontrol-plugin-1.4'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-ear-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.1'
Loading plugin 'maven-jellydoc-plugin-1.3'
Loading plugin 'maven-war-plugin-1.6'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-checkstyle-plugin-2.4.1'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.7'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-linkcheck-plugin-1.3.2'
Loading plugin 'maven-changes-plugin-1.5'
Loading plugin 'maven-javadoc-plugin-1.6.1'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.7'
Loading plugin 'maven-plugin-plugin-1.5.1'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.1'
Loading plugin 'maven-release-plugin-1.4'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.2'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-eclipse-plugin-1.7'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-j2ee-plugin-1.5'
Loading plugin 'maven-file-activity-plugin-1.5'
Loading plugin 'maven-clover-plugin-1.5'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-dashboard-plugin-1.3'
Loading plugin 'maven-jar-plugin-1.6'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-developer-activity-plugin-1.5'
Loading plugin 'maven-abbot-plugin-1.0'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-multiproject-plugin-1.3.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6'
Loading plugin 'maven-pmd-plugin-1.5'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.1.1'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.1'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-java-plugin-1.4'
Loading plugin 'maven-pdf-plugin-2.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3'
Loading plugin 'maven-jnlp-plugin-1.4'
Loading plugin 'maven-html2xdoc-plugin-1.3'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-hibernate-plugin-1.1'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: /Users/kraft/build.properties
Using projectPropertiesFile: /Users/kraft/testmaven/maven/project.properties
Using projectBuildPropertiesFile: /Users/kraft/testmaven/maven/build.properties
Verifying dependencies for maven:maven
Getting failed dependencies: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Attempting to download commons-jelly-1.0-beta-4.jar.
Getting URL: 
http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-1.0-beta-4.jar
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at 
org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:100)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:356)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
        at 
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
        at 
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
        at 
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
        at 
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
        at 
org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
        at org.apache.maven.cli.App.doMain(App.java:486)
        at org.apache.maven.cli.App.main(App.java:1215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct 
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Final Memory: 1M/3M
Total time: 5 seconds
Finished at: Wed Nov 10 09:28:50 CET 2004


----- 8< -------------


I have tried onder a different user account with the same results.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to