We've created a dummy project to start our report plugin development (tutorial https://developer.atlassian.com/display/JIRADEV/Creating+a+JIRA+Report).
But even if the compilation and packaging works, the deployment of the plugin fails with a strange error :
/rest/plugins/1.0/ [atlassian.plugin.manager.Default
PluginManager] There was an error loading the descriptor 'Single Level Group By Report Extended' of plugin 'com.atlassian.plugins.tutorial.jira.jira-report-p
lugin'. Disabling.
com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: com.atlassian.plugins.tutorial.jira.reports.SingleLevelGroupByReportExtended
. Missing class: com/atlassian/jira/plugin/report/Report
To me , this class is expected to be provided by Jira itself (the 'provided' parameter is set in the POM).
But even 'compile' is set, it does not work and throws the folowing error :
/rest/plugins/1.0/installed-marketplace [plugin.osgi.factory.OsgiPl
ugin] Unable to start the Spring context for plugin com.atlassian.plugins.tutorial.jira.jira-report-plugin
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema name
space [http://www.springframework.org/schema/osgi]
Community moderators have prevented the ability to post new answers.
Here are the xml files requested :
pom.txt
atlassian-plugin.txt
(just changed the extension, seems the upload function doesn't accept xml)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are right. The dependency should be provided only. Did you try an atlas-clean and then atlas-run?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not use atlas-run. But deploy the obr myself through the interface.
As to atlas-clean , I tested it but nothin changed.
Jira version : 5.2.11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you attach your pom.xml and atlassian-plugin.xml ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.