On Wed, May 6, 2015 at 2:16 PM, Greg Allen <[email protected]> wrote:
> I still get the ClassNotFoundException. Why would it not be getting loaded?

Well the fact that you are talking about a ClassNotFoundException,
rather than a NoClassDefFoundError (with a ClassNotFoundException as
its root cause), is a red flag. That implies that something—your
code—is loading a class reflectively rather than statically, and
presumably passing the wrong ClassLoader. Perhaps your library makes
the shoddy assumption that
Thread.currentThread().getContextClassLoader() can be used to load its
own classes (which would *not* be true for code loaded in a Jenkins
plugin).

-- 
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/CANfRfr1yLPbiA0Hea3JA9Gt-Z_OT5Tx5ykAU_2frqs9W_b8FzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to