Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-294

java.lang.NoClassDefFoundError: org/sonatype/aether/graph/Dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.6
    • None
    • dependencies
    • None

    Description

      [WARNING] An issue has occurred with report org.apache.maven.report.projectinfo.DependenciesReport, skip LinkageError org/sonatype/aether/graph/Dependency, please report an issue to Maven dev team.
      
      [INFO] --- maven-site-plugin:3.3:site (default-site) @ csharp-windows-elevate ---
      [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.6
      [INFO] Parent project loaded from repository: org.sonatype.oss:oss-parent:pom:7
      [INFO] Relativizing decoration links with respect to project URL: http://kolotyluk.github.io/csharp-windows-elevate
      [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
      [INFO] Generating "About" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Project Team" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Dependency Information" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Project Plugins" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Continuous Integration" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Issue Tracking" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Source Repository" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Project License" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Plugin Management" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Distribution Management" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Project Summary" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Mailing Lists" report    --- maven-project-info-reports-plugin:2.6
      [INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.6
      [WARNING] Error injecting: org.apache.maven.shared.dependency.graph.internal.Maven3DependencyGraphBuilder
      java.lang.NoClassDefFoundError: org/sonatype/aether/graph/Dependency
              at java.lang.Class.getDeclaredMethods0(Native Method)
              at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
              at java.lang.Class.getDeclaredMethods(Class.java:1855)
              at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:674)
              at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
              at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165)
              at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:609)
              at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:565)
              at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:551)
              at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:865)
              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.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
              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.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
              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.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
              at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240)
              at org.apache.maven.shared.dependency.graph.internal.DefaultDependencyGraphBuilder.buildDependencyGraph(DefaultDependencyGraphBuilder.java:60)
              at org.apache.maven.report.projectinfo.DependenciesReport.resolveProject(DependenciesReport.java:215)
              at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:175)
              at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
              at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:219)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
              at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
              at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
              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:317)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.Dependency
              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
              ... 69 more
      [WARNING] An issue has occurred with report org.apache.maven.report.projectinfo.DependenciesReport, skip LinkageError org/sonatype/aether/graph/Dependency, please report an issue to Maven dev team.
      java.lang.NoClassDefFoundError: org/sonatype/aether/graph/Dependency
              at java.lang.Class.getDeclaredMethods0(Native Method)
              at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
              at java.lang.Class.getDeclaredMethods(Class.java:1855)
              at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:674)
              at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
              at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165)
              at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:609)
              at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:565)
              at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:551)
              at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:865)
              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.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
              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.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
              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.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
              at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240)
              at org.apache.maven.shared.dependency.graph.internal.DefaultDependencyGraphBuilder.buildDependencyGraph(DefaultDependencyGraphBuilder.java:60)
              at org.apache.maven.report.projectinfo.DependenciesReport.resolveProject(DependenciesReport.java:215)
              at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:175)
              at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
              at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:219)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
              at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
              at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
              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:317)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.Dependency
              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
              ... 69 more
      

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              kolotyluk Eric Kolotyluk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: