Closed fabioformosa closed 4 years ago
org.laxture.sbp.SpringBootPluginManager is in unnamed module of loader org.pf4j.PluginClassLoader
this doesn't smell good, SpringBootPluginManager
should be loaded by main classLoader. I will fork your poc project to demonstrate it and come back with a PR later.
Ok, you're very kind helping me. Yesterday I submitted in poc project also the branch feature/plugin-loader-for-springboot
with an attempt to extend JarPluginLoader for executable springboot jar
, but it suffers for the issue linked to SpringBootPluginManager override.
see https://github.com/fabioformosa/sbp-pluggable-project/pull/1
I know it's ugly, please see the reason
I've tried to define a custom plugin manager
and I got this error:
How can I define a CustomPluginManager that extends
SpringBootPluginManager
?