java.lang.NoClassDefFoundError: > org/codehaus/plexus/compiler/util/scan/InclusionScanException at > java.lang.Class.getDeclaredConstructors0(Native Method) at > java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at > java.lang.Class.getDeclaredConstructors(Class.java:1836) at > com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:243) > > at > com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:96) > > at > com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:628) > > at > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:835) > > at > com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:769) > > at > com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:254) > > at > com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:205) > > at > com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:843) > > at > com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:957) > > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:990) > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:951) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) > > at > org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) > > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) > > at > com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) > > at > com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at > com.google.inject.Scopes$1$1.get(Scopes.java:59) at > org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) > > at > org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) > > 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) > >

Oracle Community | zhuixunzhe_sina | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception while building GlassFish main-4.0-b54 form svn.

    Oracle Community | 5 years ago | zhuixunzhe_sina
    java.lang.NoClassDefFoundError: > org/codehaus/plexus/compiler/util/scan/InclusionScanException at > java.lang.Class.getDeclaredConstructors0(Native Method) at > java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at > java.lang.Class.getDeclaredConstructors(Class.java:1836) at > com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:243) > > at > com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:96) > > at > com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:628) > > at > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:835) > > at > com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:769) > > at > com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:254) > > at > com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:205) > > at > com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:843) > > at > com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:957) > > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:990) > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:951) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) > > at > org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) > > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) > > at > com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) > > at > com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at > com.google.inject.Scopes$1$1.get(Scopes.java:59) at > org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) > > at > org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) > > 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) > >
  2. 0

    GitHub comment 27#1635660

    GitHub | 6 years ago | smithclay
    java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at > com.github.searls.jasmine.io.scripts.RelativizesASetOfScripts.normalize(RelativizesASetOfScripts.java:31) at > com.github.searls.jasmine.io.scripts.RelativizesASetOfScripts.relativize(RelativizesASetOfScripts.java:19) at > com.github.searls.jasmine.CreatesManualRunner.scriptsForRunner(CreatesManualRunner.java:43) at > com.github.searls.jasmine.CreatesManualRunner.create(CreatesManualRunner.java:34) at > com.github.searls.jasmine.GenerateManualRunnerMojo.run(GenerateManualRunnerMojo.java:15) at > com.github.searls.jasmine.AbstractJasmineMojo.execute(AbstractJasmineMojo.java:193) at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1205) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1038) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:643) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      > org/codehaus/plexus/compiler/util/scan/InclusionScanException at > java.lang.Class.getDeclaredConstructors0(Native Method) at > java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at > java.lang.Class.getDeclaredConstructors(Class.java:1836) at > com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:243) > > at > com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:96) > > at > com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:628) > > at > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:835) > > at > com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:769) > > at > com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:254) > > at > com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:205) > > at > com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:843) > > at > com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:957) > > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:990) > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:951) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003) > > at > org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47) > > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) > > at > com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968) at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014) > > at > com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964) at > com.google.inject.Scopes$1$1.get(Scopes.java:59) at > org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79) > > at > org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53) > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235) > > 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()
    2. Maven Core
      DefaultMaven.doExecute
      1. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      1 frame