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
BeanPostProcessor bean declaration that retrieves object from injected ObjectFactory with bounded type parameter results in missing PluginRegistry bean during application startup #1210
Comments
The linked project is inaccessible currently. Generally speaking, So a couple of questions:
|
The given example is just the issue reduced to its minimum. The actual Full stack trace:
|
First of all, glad you found a workaround.
I am afraid you lost me on that one but I am not an expert in Micrometer. I'd definitely would keep the
That fact that this seems to make a difference is odd. @jhoeller, does that ring a bell? The sample linked to above is really minimal and if you tweak the generics declaration you can see this switching from does not work to work reliably. |
Given:
When:
Then:
Parameter 0 of method _relProvider in org.springframework.hateoas.config.HateoasConfiguration required a bean of type 'org.springframework.plugin.core.PluginRegistry' that could not be found.
.The following example bean declaration will cause the error:
Any of the following alterations to the bean declaration will avoid the error:
Complete error message:
Minimal example project: https://github.com/VTLob/spring-hateoas-issue
The text was updated successfully, but these errors were encountered: