Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to resolve class com.atlassian.jira.component.ComponentAccessor

I am using Jira 8.12.1 server version. My  SSO code already using ComponentAccessor and it was working fine with previous version of Jira 7.

But when we upgraded to 8.12.1 version, getting below error.

it tells me unable to resolve class com.atlassian.jira.component.ComponentAccessor?

However, import com.atlassian.jira.component.ComponentAccessor was working fine with Jira 7.

Even in Jira API document same package is mentioned.

Could you please help?



2 answers

0 votes
Nir Haimov Community Leader Oct 30, 2020

Hi @Ashutosh Shrivastava 

Please share your pom.xml

My guess you are no using the right amps version

Nir Haimov Community Leader Oct 30, 2020

Hi @Ashutosh Shrivastava 

Please keep posting to me as under my answer and as new answer (to keep the order of things :) )

Now about your pom.xml files, I'm not sure which one of them, but your plugin should have only 1 pom.xml file, (unless this code is extracted from a jar plugin and the original code is not yours)

Thanks @Nir Haimov  for your reply.

When I added old Jira 7 jar, its able to get ComponentAccessor and no error in import.

But I am still getting error on package, which is present for both old and new version of Jira.

I have ask question in Atlassian Community for package error.

Here is the link -

Could you please let me know, if you have any idea about resolving package issue?




Hi @Ashutosh Shrivastava 

Sorry, but i can't help you that way, you need to access the original code (and not the package from the JAR).

There you should have only 1 pom.xml, main folder with all classes, resources folder with all resources (js, css, etc...)

You are trying to work on the wrong files.

That is why everything breaks for you when you try to change something

Thanks Nir for your reply.

I see three pom.xml at different locations mentioned below.

1> C:\Program Files\Atlassian\Jira\atlassian-jira\META-INF\maven\com.atlassian.jira\jira-webapp-dist

2> C:\Program Files\Atlassian\Jira\atlassian-jira\META-INF\maven\com.atlassian.jira\atlassian-jira-webapp

3> C:\Program Files\Atlassian\Jira\atlassian-jira\WEB-INF\classes\META-INF\maven\com.atlassian.jira\jira-core

I have never updated any pom.xml manually for new version of Jira, or before for old versions as well.

I am not able to attach those files here, please let me know which file content you need, so I can provide to you.


Thanks again for your help,


Suggest an answer

Log in or Sign up to answer

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