mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gayatri Rao <rgayat...@gmail.com>
Subject Problem compiling Mahout
Date Fri, 17 Dec 2010 07:12:49 GMT
I have been following the instructions given in
https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to build
Mahout.
When in the $MAHOUT_HOME directory and trying to compile, mvn compile gets
through succsesfully. However, when I try to do mvn isntall and I am getting
a strange error. I am running on Hadoop 20.x with JDK 1.6 and Maven 2.0.11
(I tried out the help given on mahout home page like deleting the .m2
directory but that is not helping)
Could any one help as to what mgiht be wrong.

Please find the Error below:
-------------------------------------
Tests run: 576, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] [jar:test-jar {execution: default}]
[INFO] [assembly:single {execution: job}]
[INFO] Reading assembly descriptor: src/main/assembly/job.xml
[FATAL ERROR]
org.apache.maven.plugin.assembly.mojos.SingleAssemblyMojo#execute() caused a
linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check
the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.apache.maven.plugins:maven-assembly-plugin]
urls[0] =
file:/home/gayatri/.m2/repository/org/apache/maven/plugins/maven-assembly-plugin/2.2/maven-assembly-plugin-2.2.jar
urls[1] =
file:/home/gayatri/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[2] =
file:/home/gayatri/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar
urls[3] =
file:/home/gayatri/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.jar
urls[4] =
file:/home/gayatri/.m2/repository/org/codehaus/plexus/plexus-archiver/1.1/plexus-archiver-1.1.jar
urls[5] =
file:/home/gayatri/.m2/repository/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar
urls[6] =
file:/home/gayatri/.m2/repository/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar
urls[7] =
file:/home/gayatri/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
urls[8] =
file:/home/gayatri/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-4/maven-filtering-1.0-beta-4.jar
urls[9] =
file:/home/gayatri/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
urls[10] =
file:/home/gayatri/.m2/repository/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.jar
urls[11] =
file:/home/gayatri/.m2/repository/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] =
file:/data/installs/Maven/apache-maven-2.0.11/lib/maven-2.0.11-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO]
org.apache.maven.execution.MavenSession.getUserProperties()Ljava/util/Properties;
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError:
org.apache.maven.execution.MavenSession.getUserProperties()Ljava/util/Properties;
        at
org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssembly(DefaultAssemblyReader.java:368)
        at
org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.addAssemblyFromDescriptor(DefaultAssemblyReader.java:328)
        at
org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:120)
        at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:384)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
        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:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] -------------------------------------

Thanks,
Gayatri

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message