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

Switch to Plain View
HBase >> mail # dev >> TypeNotPresentException when building HBase


+
Mikhail Bautin 2013-02-27, 01:40
Copy link to this message
-
Re: TypeNotPresentException when building HBase
I used the following command and don't see any error:

mvn clean package -Dhadoop.profile=2.0 -DskipTests

Cheers

On Tue, Feb 26, 2013 at 5:40 PM, Mikhail Bautin <
[EMAIL PROTECTED]> wrote:

> Hello All,
>
> I've been getting the following exception when building HBase trunk. My
> build command is
>
> mvn -Dhadoop.profile=2.0 -Dmaven.test.skip.exec=true -PlocalTests package
> install
>
> Has anyone seen this, and what is the work-around?
>
> java.lang.TypeNotPresentException: Type
> org.apache.maven.plugin.failsafe.IntegrationTestMojo not present
>     at
>
> org.sonatype.guice.bean.reflect.URLClassSpace.loadClass(URLClassSpace.java:109)
>     at org.sonatype.guice.bean.reflect.NamedClass.load(NamedClass.java:45)
>     at
>
> org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
>     at
>
> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
>     at
>
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
>     at
>
> com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
>     at
>
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
>     at
>
> org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
>     at
>
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
>     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:45)
>     at
> com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
>     at
>
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
>     at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
>     at com.google.inject.Scopes$1$1.get(Scopes.java:59)
>     at
>
> org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
>     at
>
> org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
>     at
>
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
>     at
>
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
>     at
>
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
>     at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>     at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>     at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>     at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>     at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>     at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)