The markdown-plugin started to break recently. What we noticed is that our gradle wrapper project upgraded spring from v4.3.20 to v5.2.13. Not sure if that is the actual cause. We tried to both markdown version 0.7 and 0.9.2. The error stack trace is:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'attachmentService' defined in URL [jar:file:/Users/username/.gradle/caches/jars-8/7bde9ecce1f243bd9cae8df712d3d34f/markdown-confluence-gradle-plugin-0.9.2.jar!/com/github/qwazer/markdown/confluence/core/service/AttachmentService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.github.qwazer.markdown.confluence.core.service.ConfluenceService]: Error creating bean with name 'confluenceService' defined in URL [jar:file:/Users/username/.gradle/caches/jars-8/7bde9ecce1f243bd9cae8df712d3d34f/markdown-confluence-gradle-plugin-0.9.2.jar!/com/github/qwazer/markdown/confluence/core/service/ConfluenceService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.web.client.RestTemplate]: Error creating bean with name 'restTemplate' defined in com.github.qwazer.markdown.confluence.core.SpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.client.RestTemplate]: Factory method 'restTemplate' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.util.xml.StaxUtils.createDefensiveInputFactory()Ljavax/xml/stream/XMLInputFactory;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restTemplate' defined in com.github.qwazer.markdown.confluence.core.SpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.client.RestTemplate]: Factory method 'restTemplate' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.util.xml.StaxUtils.createDefensiveInputFactory()Ljavax/xml/stream/XMLInputFactory;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'confluenceService' defined in URL [jar:file:/Users/username/.gradle/caches/jars-8/7bde9ecce1f243bd9cae8df712d3d34f/markdown-confluence-gradle-plugin-0.9.2.jar!/com/github/qwazer/markdown/confluence/core/service/ConfluenceService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.web.client.RestTemplate]: Error creating bean with name 'restTemplate' defined in com.github.qwazer.markdown.confluence.core.SpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.client.RestTemplate]: Factory method 'restTemplate' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.util.xml.StaxUtils.createDefensiveInputFactory()Ljavax/xml/stream/XMLInputFactory;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restTemplate' defined in com.github.qwazer.markdown.confluence.core.SpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.client.RestTemplate]: Factory method 'restTemplate' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.util.xml.StaxUtils.createDefensiveInputFactory()Ljavax/xml/stream/XMLInputFactory;
I'd reach out to the developer of the add in directly about this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.