How to wrap the core jira class for NoClassDefFoundError?

Deleted user May 29, 2013

The documentation in https://developer.atlassian.com/display/DOCS/Troubleshooting#Troubleshooting-B "recommends creating a simple class in your plugin that wraps the core JIRA class and just calls super()"

How do you actually do that and what is the classs that I need to wrap?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Radu Dumitriu
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.
May 29, 2013

This is how I understand it:

class MyService() extends JiraStandardService {

public MyService(Dependency1 dep1, Dependency2 dep2) {

super(dep1, dep2);

}

}

Most probably forces the OSGI to resolve first the JiraStandardService.

Give it a try. However, this is an ugly workaround.

TAGS
AUG Leaders

Atlassian Community Events