You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
In the Bitbucket plugin project I am working on I am using kerb4j-client in order to establish kerberized connection to 3rd party service.
<dependency>
<groupId>com.kerb4j</groupId>
<artifactId>kerb4j-client</artifactId>
<version>0.0.8</version>
<scope>compile</scope>
</dependency>
kerb4j-client depends on kerb4j-common which in turn refers to com.sun.security.auth.module.Krb5LoginModule class which is the one I am getting NoClassDefFoundError when trying to run the plugin flow.
The Krb5LoginModule is a part of JVM and exists in both JDK/JRE's rt.jar, at least as of the v1.8.0_181 I am using.
I checked the MANIFEST.MF from the plugin jar and do see "com.sun.security.auth.module;version=0;resolution:=optional" there
I checked /plugins/servlet/upm/osgi on the server but when expanding my plugin "Import Package" section the report around it looks like this:
com.google.gson version: 0, resolution: optional
Provided by System Bundle
com.sun.security.auth.module version: 0, resolution: optional
javax.annotation version: 0, resolution: optional
Provided by System Bundle
Understandably, when looking under System Bundle "Export Package" no com.sun.security.auth.module is listed.
What would be the approach to resolve this?
Approach, is using the last version of spring scanner
https://bitbucket.org/atlassian/atlassian-spring-scanner/src
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.