Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't get spring working in jira plugin spring scanner 2.What config does it require??

Chandrasekar Ranganathan Parimala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2020

Hi Atlassian team,

How do I enable spring libraries to use in my atlassian plugin.
I need to use @value @Configuration @Romni Digital in my project.
Also some other common custom spring libraries which we use with other projects.
Life is not easy with Spring scanner 2 . I keep getting this error. A simple spring stuff has taken more than a week. 

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.atlassian.com/schema/atlassian-scanner]
Offending resource: URL [bundle://127.0:0/META-INF/spring/plugin-context.xml]

 

1 answer

2 votes
Alex Yasurek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2024

I ran into a similar issue and was able to fix it by deleting the META folder inside the resources folder of the plugin. I then ran atlas-clean and tried building it again and it worked. Hopefully, that also fixes it for you.

Suggest an answer

Log in or Sign up to answer