I'm trying to build a Confluence (5.4.4) Plugin utilising Spring MVC and have been using the embedded-crowd-admin-plugin as a guide, however, no matter what I do I keep on getting the following error:
[INFO] [talledLocalContainer] 2014-04-02 17:12:10,459 ERROR [main] [atlassian.plugin.loaders.ScanningPluginLoader] deployPluginFromUnit Because of the following exception: [INFO] [talledLocalContainer] java.lang.NoClassDefFoundError: freemarker/cache/TemplateLoader [INFO] [talledLocalContainer] at java.lang.Class.getDeclaredMethods0(Native Method) [INFO] [talledLocalContainer] at java.lang.Class.privateGetDeclaredMethods(Class.java:2484) [INFO] [talledLocalContainer] at java.lang.Class.privateGetPublicMethods(Class.java:2604) [INFO] [talledLocalContainer] at java.lang.Class.getMethods(Class.java:1446) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.addHostComponentsUsedInSuperClasses(HostComponentSpringStage.java:251)
I have attempted to include a FreeMarker bundle as a dependency, and I could see the library is being unarchived in the plugin however, the error persists.
Any thought on it? What would you recommend for a templating framework to use in the plugin that extends HTTPServlet in place of Spring MVC?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
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!
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