-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When 'spring-boot-devtools' is introduced in the project, the extensions are not available. #77
Comments
I don't know what to say about this problem. I don't use spring-boot in my projects. Try to investigate/debug the problem. |
For SpringBoot and PF4J integration please take a look on https://github.com/hank-cp/sbp. |
From what I see in the Spring DevTools reference page, it's a caution related to this aspect.
|
First step is to try to follow some recommendations described in the Diagnosing Classloading Issues section. |
I was able to get it working with Spring Devtools restart functionality enabled thanks to @stefv from StackOverflow: https://stackoverflow.com/questions/73654174/my-application-cant-find-the-extension-with-pf4j See this commit: gameyfin/gameyfin@0563f2b TL;DR: I extended the PluginManager with a custom PluginLoader which gets its ClassLoader injected from the Spring Context. |
You can create a PR. |
Hello @decebals
When 'spring-boot-devtools' is introduced in the project, the extensions are not available. If I remove 'spring-boot-devtools', I can get the extensions normally. Is there a way to solve this problem? 'spring-boot-devtools' is very useful when developing, so I can't just delete 'spring-boot-devtools'.
Thanks.
The text was updated successfully, but these errors were encountered: