-
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
PF4J-Spring is not compatible with Spring Boot 3 #83
Comments
I think that you talk about Spring 6 not Spring 3. |
sorry, I meant spring boot 3.x.x |
You can see the javax.annotation.PostConstruct in the note https://docs.spring.io/spring-framework/reference/core/beans/annotation-config/postconstruct-and-predestroy-annotations.html is deprecated. |
Two possible solutions:
|
But, according Spring Upgrading to Version 6.0:
I understood your point of view, but why #80 confirmed that current version works with Spring 6 out of the box? |
The issue is with the init method in the SpringPluginManager class.
The method is annotated by javax.annotation.PostConstruct which is deprecated and replaced by jakarta.annotation.PostConstruct.
The SpringPluginManager class is initiated without loading the plugins, thus failing to inject and load the extensions
The text was updated successfully, but these errors were encountered: