annotated as a component, but the type is not a concrete class. NOT ad ding to index file!!

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

1 answer

0 votes
Gonchik Tsymzhitov Community Champion Nov 18, 2017

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,313 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you