Hello,
Whe have a plugin that adds groups in jira 5.2.2, I use SAL plugin to automate the import but now when I try to add groups in my JIRA 7.1.7 I get this error:
com.atlassian.crowd.exception.runtime.OperationFailedException: org.springframework.transaction.CannotCreateTransactionException: Could not create DirContext instance for transaction; nested exception is org.springframework.ldap.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found by myPlugin [199]] at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addGroup(CrowdServiceImpl.java:545) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.addGroup(DelegatingCrowdService.java:151) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.addGroup(FilteredCrowdServiceImpl.java:271)
The groups are local, why CrowdServiceImpl needs DirContext object?
Thank you for help!
This error looks like this one here Spring scan
If you have used SAL plugin, you will probably get the same problem.
I switched to another solution, I use JiraService but with this solution, I must put my jar file in WEB-INF/lib
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.