OK, I found an example! The LDAP Management interface for JIRA and Confluence is built using Spring MVC. If you have access to the JIRA or Confluence source code, it's the plugin in the root source directory called embedded-crowd-admin-plugin.
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?
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
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