The problem I encountered is that the client of my OSGi bundle also uses rome
and has already loaded those classes defined in rome.properties. When the
PluginManager in my bundle tries to load these classes, the typecast fails.
Replacing Class.forName in Pluginmanager with ClassLoader.loadClass fixes the