Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-967

NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 4.0.0-M8
    • None
    • doxia integration
    • None

    Description

      I already saw that there are a buch of related NoClassDefFoundError DocumentContent issues. But i could not see, how that helps me.

      So i get this error and have no plan why:

      [INFO] --- maven-site-plugin:3.3:site (default-site) @ config ---
      [WARNING] Report plugin org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.
      [WARNING] 
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING] 
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:3.4.4
      [WARNING] Error injecting: org.apache.maven.report.projectinfo.CiManagementReport
      java.lang.NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent
          at java.lang.Class.getDeclaredConstructors0 (Native Method)
          at java.lang.Class.privateGetDeclaredConstructors (Class.java:3373)
          at java.lang.Class.getDeclaredConstructors (Class.java:2555)
          at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
          at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
          at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
          at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:930)
          at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
          at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
          at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
          at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
          at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
          at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
          at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
          at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
          at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
          at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
          at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
          at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
          at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
          at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
          at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
          at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
          at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
          at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
          at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
          at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
          at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
          at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.getConfiguredMavenReport (DefaultMavenReportExecutor.java:306)
          at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin (DefaultMavenReportExecutor.java:263)
          at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports (DefaultMavenReportExecutor.java:154)
          at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports (AbstractSiteRenderingMojo.java:235)
          at org.apache.maven.plugins.site.SiteMojo.execute (SiteMojo.java:121)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:568)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
          at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.siterenderer.DocumentContent
          at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
          at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
          at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
          at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
          at java.lang.Class.getDeclaredConstructors0 (Native Method)
          at java.lang.Class.privateGetDeclaredConstructors (Class.java:3373)
          at java.lang.Class.getDeclaredConstructors (Class.java:2555)
          at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
          at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
          at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
          at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:930)
          at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
          at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
          at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
          at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
          at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
          at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
          at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
          at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
          at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
          at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
          at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
          at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
          at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
          at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
          at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
          at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
          at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
          at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
          at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
          at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
          at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
          at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.getConfiguredMavenReport (DefaultMavenReportExecutor.java:306)
          at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin (DefaultMavenReportExecutor.java:263)
          at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports (DefaultMavenReportExecutor.java:154)
          at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports (AbstractSiteRenderingMojo.java:235)
          at org.apache.maven.plugins.site.SiteMojo.execute (SiteMojo.java:121)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:568)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
          at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
      

      And i have this in my PluginManagement:

      <plugin>
      	<groupId>org.apache.maven.plugins</groupId>
      	<artifactId>maven-site-plugin</artifactId>
      	<version>4.0.0-M8</version>
      </plugin>
      <plugin>
      	<groupId>org.apache.maven.plugins</groupId>
      	<artifactId>maven-project-info-reports-plugin</artifactId>
      	<version>3.4.4</version>
      </plugin>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Wolf2323 Gabriel Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: