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

import com.atlassian.jira.ComponentManager gives compile time error in JIRA 6.2.2

Ramesh Udari1 April 20, 2014

Hi,

We are upgrading jira from 5.0.2 to 6.2.2 and in one of the our customized plug-in we are importing ComponentManager class, but it is givning compile time error in JIRA 6.2.2 version. Is this class removed from JIRA 6.2.2 or i have missed out any required jar.

I have configured all JIRA 6.2.2 Jars in eclipse, which are present in /atlassian-jira-6.2.2-war/webapp/WEB-INF/lib/ folder. Aprt from these jars, shoudl i include any other jar ?

You help is highly appricated.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Boris Georgiev _Appfire_
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 20, 2014

You should change your maven dependencies. Add dependency to jira-api and jira-core instead to atlassian-jira

https://developer.atlassian.com/display/JIRADEV/Preparing+for+JIRA+6.0#PreparingforJIRA6.0-atlassian-jiramodulehasbeenremoved

Ramesh Udari1 April 20, 2014

We already have jira-api dependecy and i think so jira-core also removed in JIRA 6.2.2 VERSION that is why i was not added it.

Boris Georgiev _Appfire_
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 20, 2014

jira-core is not removed and the CompnentManager class is exactly there, so add it :)

TAGS
AUG Leaders

Atlassian Community Events