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 Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

279 views 2 10
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