ExtensionFinder$GuiceFinde ClassNotFoundException

9 views
Skip to first unread message

Michael Carter

unread,
Nov 27, 2020, 3:47:41 PM11/27/20
to Jenkins Developers
Trying to add Jira functionality to a parameter.   I get this when it starts up.   Classes aren't getting loaded into what ever space the parameters are loading into.

Am I missing a white list or something?

2020-11-27 20:39:04.321+0000 [id=42] WARNING h.ExtensionFinder$GuiceFinder$SezpozModule#configure: Failed to load io.jenkins.plugins.JenkinsPlugin.JiraPack
java.lang.ClassNotFoundException: com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
Caused: java.lang.NoClassDefFoundError: Lcom/atlassian/jira/rest/client/internal/async/AsynchronousJiraRestClientFactory;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:503)

Oleg Nenashev

unread,
Nov 27, 2020, 5:22:31 PM11/27/20
to Jenkins Developers
Hi! Your plugin needs the Jira REST Client library, bit it looks like it was not loaded on the Jenkins startup. Most likely it means that the library was not added to the plugin HPI and was not provided by another plugin. If you could share your pom.xml, it might help to pinpoint the issue

Michael Carter

unread,
Nov 28, 2020, 2:40:08 PM11/28/20
to Jenkins Developers
For the record... found it.   I had rebranded Nov 1st, and the old plugin was still there.   So it was loading it.

work/plugins/JenkinsPlugin-20.09.0-${timestamp}.hpl
work/plugins/JenkinsPlugin-20.11.0-${timestamp}.hpl

Reply all
Reply to author
Forward
0 new messages