Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # dev >> Re: issue of building with native


+
Hai Huang 2013-09-19, 01:01
Copy link to this message
-
Re: issue of building with native
This could be http://jira.codehaus.org/browse/MSITE-683. What version
of Maven are you using btw?

On Thu, Sep 19, 2013 at 6:31 AM, Hai Huang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I built the java code with native code through the instruction in BUILDING.txt
>
>  $ mvn package -Pdist,native,docs -DskipTests -Dtar
>
> But the error occured below.  Does anyone know the problems ? Actually, the build was passed if I built without native code (  $ mvn package -Pdist -DskipTests -Dtar)
>
>
> I am using Java 1.6.0_24 and gcc 4.4.6
>
> Thanks
>
> Haifeng
> --------------------------------------------
>
>
> [WARNING] Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor
> java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2444)
>         at java.lang.Class.getDeclaredConstructors(Class.java:1883)
>         at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
>         at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
>         at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
>         at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
>         at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
>         at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
>         at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
>         at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
>         at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
>         at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
>         at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
>         at org.eclipse.sisu.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44)
>         at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
>         at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
>         at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
>         at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
>         at org.eclipse.sisu.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:134)
>         at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
>         at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
>         at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
>         at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.Scopes$1$1.get(Scopes.java:59)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
>         at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
>         at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
>         at org.eclipse.sisu.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82)

Harsh J
+
Hai Huang 2013-09-19, 15:06