Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: com/atlassian/jira/JiraException

SAI KRISHNA December 5, 2017 edited

Hi all ,

I am getting this error  for custom plugin

java.lang.NoClassDefFoundError: com/atlassian/jira/JiraException

 

Thanks

Sai Krishna

 

2 answers

1 vote
Aleksandr Zuevich
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.
December 5, 2017

Hi, usually such error are due to dependencies inconsistencies. What is the scope of your jira-api dependency in your pom.xml? Is it provided?

SAI KRISHNA December 5, 2017 edited
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
Aleksandr Zuevich
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.
December 5, 2017

When do you get this error? Do you extend JiraException in any own class?

SAI KRISHNA December 5, 2017 edited

when I trying upload plugin or enabling it  . no I am not extending JiraException

SAI KRISHNA December 6, 2017

Hi Aleksandr Zuevich ,

Can you please help me to fix the error .

Thanks

Sai Krishna 

Aleksandr Zuevich
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.
December 7, 2017

Hi,

I'm afraid we can't get definite help without your sources.

My assumption: it's due to dependencies. Maybe you use some library which is dependent on other library contains JiraException class.

0 votes
aas
Contributor
September 9, 2020 edited

I have the same problem is any solution? Try to use jql query in my Issue tab plugin and have 

java.lang.ClassNotFoundException: com.atlassian.jira.issue.search.SearchException not found by com.jira.plugin.IssueTab.Panel 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events