Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How/where to find com.atlassian.plugins:atlassian-spring-scanner-annotation:jar?

I am trying to follow the tutorial "Creating an admin configuration form".

I got an error about the classes com.atlassian.plugin.spring.scanner.annotation.component.Scanned and com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport not being found, and found that I presumably need to add another dependency to the pom file.

I tried to add


to this file, and also tried different versions. But none of the versions 2.2.2, 2.2.1-8199150, 2.2.1 which I found at the Maven Repository overview for Atlassian Public worked: I got the error

[ERROR] Failed to execute goal on project xproduct-admin-ui-plugin: Could not resolve dependencies for project de.steep.plugins.tutorial:xproduct-admin-ui-plugin:atlassian-plugin:1.0.0-SNAPSHOT: Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-annotation:jar:2.2.1 in atlassian-public ( -> [Help 1]

for all these versions when running 

atlas-mvn clean package

I tried to look at the URL stated in the error message, which redirects to, but that is a huge directory structure where I could not find anything like atlassian-spring-scanner-annotation.

How can I resolve this issue?


1 answer

I found a solution that seems to work - at least I can compile and deploy.

According to atlassian / atlassian-spring-scanner — Bitbucket, I changed several things in my pom.xml file:

  • use com.atlassian.plugin:atlassian-spring-scanner-annotation, not, my mis-spelled com.atlassian.plugins:atlassian-spring-scanner-annotation.
  • add another plugin as follows:
            <!-- process-classes seems to be skipped if you are using scala
                 so perhaps use prepare-package -->
       <!-- Enable this to get build-time logging of annotations atlassian-spring-scanner-maven-plugin has noticed -->
  •  Remove @Scanned from the servlet class source code.

After running

atlas-mvn eclipse:eclipse

the errors (but not all warnings) have disappeared in Eclipse now as well.

Hi @Frank 
You can change 


It's work for me 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

174 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you