Create a Confluence "Hello World" Macro fails

I tried to create a Macro for Confluence and i do this with the Atlassian Tutorial (https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/create-a-confluence-hello-world-macro)

The first steps were fine and i can see the macro in the add-on list.

 

BUT:
When I want to add the Macro to a testpage, i am not able to do this. Even opening the Macro-Browser fails, also if i want to add a macro from the list that is already given. In the terminal i can see something like:

[INFO] [talledLocalContainer] caused by: java.lang.NoClassDefFoundError: Could not initialize class com.benryan.conversion.macro.ConverterMacro
[INFO] [talledLocalContainer] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,094 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you