I have a plugin that creates a connection to a resource. This connection
requires some plugin-specific jar files, which are bundled up in the
.hpi file and distributed with the plugin.
The plugin configuration includes connection information, such as URL
and authentication information. I have included a "test connection"
button there to allow the user to validate that their connection
information is connect. However, when the button is clicked and the
code is executed to validate the connection, I get a
java.lang.ClassNotFoundException. This class is in the jar files bundled
with the plugin, but these obviously aren't loaded at this point.
Is there some standard way for handling situations like this? Do I have
to load these jars by hand? This seems like a problem that others have
probably run into.
Thanks,
-- Greg
--
You received this message because you are subscribed to the Google Groups "Jenkins
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/554A2D4A.9010901%40redhat.com.
For more options, visit https://groups.google.com/d/optout.