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.