Lack library JIRA-API 6.1 when import plugin in Eclipse

Hoàng Nam September 18, 2013

Hi,

I need to help,

I have a problem.

When I view API Reference of JIRA in https://developer.atlassian.com/static/javadoc/jira/6.0.8/reference/packages.html

I found class com.atlassian.jira.web.action.project,

BUT,

When I import plugin in Eclipse , I don't found class com.atlassian.jira.web.action.project,

Thanks,

5 answers

1 accepted

1 vote
Answer accepted
Florin Manaila
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.
September 22, 2013

AFAIK, com.atlassian.jira.web.action.project is in jira-core. Try adding it to your dependencies:

<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>

</dependency>

0 votes
Hoàng Nam September 23, 2013

Thanks

Florin Manaila

so much!

0 votes
RambanamP
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.
September 22, 2013

you have to import like

import com.atlassian.jira.web.action.project.*;

because " com.atlassian.jira.web.action.project" represents package

Hoàng Nam September 23, 2013

Thanks

rambanam prasad

so much!

RambanamP
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.
September 23, 2013

don't forgot to accept as a answer if something helped to you!!

0 votes
Hoàng Nam September 22, 2013

Thanks rambanam prasad

BUT

dependencies in my pom.xml

<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>

</dependency>

0 votes
RambanamP
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.
September 18, 2013

what are the dependencies are added in your pom.xml?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events