How i can use JiraCaptchaService in Jira Plugin?

Alexander March 4, 2019
ComponentAccessor
.getComponentOfType(JiraCaptchaService.class)
.getImageCaptchaService().validateResponseForID(captchaId, value.toUpperCase());


call method  validateResponseForID generate exception java.lang.NoClassDefFoundError: com/octo/captcha/service/image/ImageCaptchaService

 

but dependency is OK (jira-core provided): 

  • com.octo.captcha:jcaptcha:2.0-alpha-1
  • com.octo.captcha:jcaptcha-api:2.0-alpha-1

 

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

 

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2019

Hey Alexander,

Sorry this question hasn't gotten an answer yet. We do see dropoff in the likelihood that a question gets answered after its first day. Most of the users on the main Community aren't specifically developing P2 plugins so it's tough for someone with expertise to see the right questions!

We have a dedicated Developer Community that might be good to check out for plugin development related questions. Since the topics are more focused, it's easier for other developers to watch the questions coming in and provide guidance.

Sorry for not providing a "real" answer, but hopefully this gets you closer to what you need!

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer