Forums

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

Solve atlassian-spring-scanner-runtime: this error

Shubham Sharma April 2, 2025

 

https://developer.atlassian.com/server/framework/atlassian-sdk/getting-started-with-active-objects/
I am working with this documentation and while trying things hands on. I got stuck in this error.


[ERROR] Failed to execute goal on project ao-tutorial: Could not resolve dependencies for project com.atlassian.tutorial.ao.todo:ao-tutorial:atlassian-plugin:1.0.0-SNAPSHOT [ERROR] dependency: com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 (provided) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in maven-central (https://repo1.maven.org/maven2/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in atlassian-proxy (https://packages.atlassian.com/artifactory/maven-atlassian-all/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in terracotta (https://repo.terracotta.org/maven2/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in gradle-plugins (https://plugins.gradle.org/m2/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in mulesoft (https://maven.anypoint.mulesoft.com/api/v1/maven/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in aspose (https://releases.aspose.com/java/repo/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in clojars (https://clojars.org/repo/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in sonatype forge (https://repository.sonatype.org/content/repositories/forge/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in mulesoft-releases (https://repository.mulesoft.org/releases/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in mulesoft-public (https://repository.mulesoft.org/nexus/content/repositories/public/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in typesafe (https://repo.typesafe.com/typesafe/releases/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in jenkins-releases (https://repo.jenkins-ci.org/releases/) [ERROR] Could not find artifact com.atlassian.plugins:atlassian-spring-scanner-runtime:jar:2.2.2 in central (https://repo.maven.apache.org/maven2)

My pom.xml:

4.0.0 com.atlassian.tutorial.ao.todo ao-tutorial 1.0.0-SNAPSHOT Example Company http://www.example.com/ ao-tutorial This is the com.atlassian.tutorial.ao.todo:ao-tutorial plugin for Atlassian Refapp. atlassian-plugin

com.atlassian.plugins atlassian-spring-scanner-runtime 2.2.2 provided com.atlassian.plugin atlassian-spring-scanner-annotation ${atlassian.spring.scanner.version} provided com.google.collections google-collections 1.0 provided com.atlassian.activeobjects activeobjects-plugin 1.2.3 provided junit junit test javax.servlet javax.servlet-api provided com.atlassian.sal sal-api provided com.atlassian.plugin atlassian-spring-scanner-annotation ${atlassian.spring.scanner.version} provided javax.inject javax.inject 1 provided org.slf4j slf4j-simple provided

com.atlassian.plugins atlassian-plugins-osgi-testrunner ${plugin.testrunner.version} test javax.ws.rs jsr311-api 1.1.1 provided javax.servlet servlet-api 2.4 provided org.slf4j slf4j-api 1.6.6 provided org.apache.httpcomponents httpclient 4.1.1 test org.mockito mockito-all 1.8.5 test com.atlassian.platform platform ${platform.version} pom import com.atlassian.platform third-party ${platform.version} pom import com.atlassian.maven.plugins refapp-maven-plugin ${amps.version} true ${refapp.version} true

 

${atlassian.plugin.key}

com.atlassian.tutorial.ao.todo.api,

org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *

* package.json @atlassian/dc.ao-tutorial js/ao-tutorial.js, js/ao-tutorial-min.js, com.atlassian.plugin atlassian-spring-scanner-maven-plugin ${atlassian.spring.scanner.version} atlassian-spring-scanner process-classes false 6.0.42 6.4.9 9.1.1 2.0.9 2.2.4

${project.groupId}.${project.artifactId} UTF-8 1.8 1.8



1 answer

0 votes
Andrii Maliuta
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 3, 2025

Hello @Shubham Sharma ,

Please follow the instructions from https://bitbucket.org/atlassian/atlassian-spring-scanner/src/master/README.md to use Scanner 2.X version - the atlassian-spring-scanner-runtime is deprecated.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events