Uploaded image for project: 'Markdown Syntax'
  1. Markdown Syntax
  2. MARKDOWN-67

class java.lang.NoClassDefFoundError when upgrading the Markdown extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 8.6
    • markdown/1.2
    • None
    • Unknown

    Description

      Hi, I'm trying to install the Markdown 1.2 extension v8.6 on XWiki 12.5.1. In the process, it gives this error shortly before finishing:

       

      Failed to get fields for class [org.xwiki.contrib.rendering.markdown.markdown12.internal.parser.DefaultFlexmarkNodeVisitor] because the class [com/vladsch/flexmark/util/ast/NodeAdaptingVisitHandler] couldn't be found in the ClassLoader.
      class java.lang.NoClassDefFoundError: Failed to get fields for class [org.xwiki.contrib.rendering.markdown.markdown12.internal.parser.DefaultFlexmarkNodeVisitor] because the class [com/vladsch/flexmark/util/ast/NodeAdaptingVisitHandler] couldn't be found in the ClassLoader.
      at org.xwiki.component.util.ReflectionUtils.getAllFields(ReflectionUtils.java:85)
      at org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptor(ComponentDescriptorFactory.java:135)
      at org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptors(ComponentDescriptorFactory.java:108)
      at org.xwiki.component.annotation.ComponentAnnotationLoader.getComponentsDescriptors(ComponentAnnotationLoader.java:170)
      at org.xwiki.component.annotation.ComponentAnnotationLoader.register(ComponentAnnotationLoader.java:217)
      at org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:138)
      at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.loadComponents(JarExtensionHandler.java:251)
      at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.install(JarExtensionHandler.java:183)
      at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85)
      at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:306)
      at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:209)
      at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:157)
      at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:154)
      at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:240)
      at org.xwiki.job.AbstractJob.run(AbstractJob.java:217)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
      at java.base/java.lang.Thread.run(Thread.java:834)
      

       Attached is a screenshot. Markdown pages do not work and the plugin is not installed after the process is finished.

      Attachments

        Activity

          People

            Unassigned Unassigned
            glatteis Linus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: