How to transform PluginClassLoader to


I would like to know if there is, in the Open API, a wrapper to transform PluginClassLoader in

I'm trying to develop a plugin that will be taken to launch an embedded Jetty server. Server at startup scans a number of resources in the classpath. But it scans the classpath of the IDE instead of the libraries of the plugin. So I manually send to Jetty the classpath of the plugin and I receive a ClassCastException :

java.lang.ClassCastException: cannot be cast to

It's would suit me if the wrapper exist.

Thanks in advance, but i'm ready to develop the wrapper myself.

Antoine ROUAZE

1 comment
Comment actions Permalink

I'm not aware of the existence of any such wrapper.


Please sign in to leave a comment.