Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

component or component-import cannot be added if the atlassian plugin key is set?

Aetisam Butt April 20, 2018

I am trying to implement the scheduler which would be schedulig the job after some interval by following the below mentioned tutorial

https://developer.atlassian.com/server/framework/atlassian-sdk/scheduling-events-via-sal-tutorial/

but when i compile the code it gives me an error that <component> or <component-import> cannot be added when the atlassian plugin key is set. To fix this issue, i have even gone through the proposal of adding the scanned annotations in my code, but i am unable to figure it out that where should i add these annotations.

Please help me out as i am stuck in this issue.

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
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.
April 20, 2018

Take a look at the Spring Scanner documentation:

https://bitbucket.org/atlassian/atlassian-spring-scanner

There is also a blog post that you might find helpful: https://www.j-tricks.com/tutorials/atlassian-spring-scanner-and-nosuchbeandefinitionexception

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events