Hello my friends,
I have problem where I run mvn package in my code:
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Sta
shImport] annotated as a component, but the type is not a concrete class. NOT ad
ding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Ref
appImport] annotated as a component, but the type is not a concrete class. NOT a
dding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Jir
aImport] annotated as a component, but the type is not a concrete class. NOT add
ing to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Fec
ruImport] annotated as a component, but the type is not a concrete class. NOT ad
ding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Con
fluenceImport] annotated as a component, but the type is not a concrete class. N
OT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Bit
bucketImport] annotated as a component, but the type is not a concrete class. NO
T adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.Bam
booImport] annotated as a component, but the type is not a concrete class. NOT a
dding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.export.Modu
leType] annotated as a component, but the type is not a concrete class. NOT addi
ng to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.S
tashComponent] annotated as a component, but the type is not a concrete class. N
OT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.R
efappComponent] annotated as a component, but the type is not a concrete class.
NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.J
iraComponent] annotated as a component, but the type is not a concrete class. NO
T adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.F
ecruComponent] annotated as a component, but the type is not a concrete class. N
OT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.C
onfluenceComponent] annotated as a component, but the type is not a concrete cla
ss. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.C
lasspathComponent] annotated as a component, but the type is not a concrete clas
s. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.B
itbucketComponent] annotated as a component, but the type is not a concrete clas
s. NOT adding to index file!!
[ERROR] Found a type [com.atlassian.plugin.spring.scanner.annotation.component.B
ambooComponent] annotated as a component, but the type is not a concrete class.
NOT adding to index file!!
anybody pass for this error ?
thanks
Hi Leandro!
Have you tried this workaround
<includeExclude>-com.atlassian.plugin.spring.scanner.annotation.*</includeExclude>
from this issue https://ecosystem.atlassian.net/browse/SCANNER-24 ?
Anyway, could you provide your sdk version, pom.xml parameters for components?
Cheers,
Gonchik Tsymzhitov
The above link is expired. I don't have any context for the mentioned solution. Can you please explain how you resolved this issue?
Thanks,
Eddie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
It has been not actual info, because if you migrate to spring scanner 2 - everything starts to be better.
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have added the dependancies:
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-spring-scanner-annotation</artifactId>
<version>1.2.13</version>
<scope>provided</scope>
</dependency>
but still getting the below error:
cannot find symbol
[ERROR] symbol: class ComponentImport
cannot find symbol
[ERROR] symbol: class Inject
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Since this is a development question, I believe the correct place to ask for help is in the Atlassian Developer Community:
https://community.developer.atlassian.com/
The mentioned portal was specifically created for development questions, where you will find articles and suggestions from other third-party partners and Atlassian developers. Feel free to open a new topic about your question there! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.