[forge-users] Furnace Class Loading Issue

forge-users at lists.jboss.org forge-users at lists.jboss.org
Tue Dec 16 13:20:47 EST 2014

Addons don't have any knowledge of OSGi ClassLoaders (except the system classloader, and only select packages/types from that), so it's unlikely that anything is bleeding in.

It is correct to place the API jars in your plugin's classpath/lib directory.

On closer inspection of this exception, it appears that the Furnace ClassLoader adapter proxy is looking for the ApplicationContext.class in the Eclipse side of things (presumably to generate a proxy that implements this type), but the adapter is not finding ApplicationContext.class in the OSGi bundle. This means you are likely missing the Spring API jars in the Eclipse/OSGi plugin bundle. Is that correct? Try adding the Spring JAR that contains ApplicationContext.class to your bundle/plugin classpath.


Posted by forums
Original post: https://developer.jboss.org/message/913764#913764

More information about the forge-users mailing list