Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

confluence markdown plugin is broken

colossal August 9, 2021

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;

1 answer

1 accepted

0 votes
Answer accepted
Colum McAndrew August 12, 2021

I'd reach out to the developer of the add in directly about this.

colossal August 12, 2021

yeah make sense. It has nothing to with confluence. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events