Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,738
Community Members
 
Community Events
165
Community Groups

confluence markdown plugin is broken

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

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

yeah make sense. It has nothing to with confluence. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,159 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you