You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be added as an optional dependency to the module that contains the AutoConfiguration classes (and contains the spring.factories file declaring them).
Once configured, this annotation processor will generate metadata at compile time and will help Spring Boot process those auto-configurations without loading the actual classes in some cases.
In this project, the spring-cloud-openfeign-core module declares auto-configurations but doesn't use this annotation processor. Could you add it to the build file of this module?
This should be added as an optional dependency to the module that contains the AutoConfiguration classes (and contains the spring.factories file declaring them).
Once configured, this annotation processor will generate metadata at compile time and will help Spring Boot process those auto-configurations without loading the actual classes in some cases.
In this project, the spring-cloud-openfeign-core module declares auto-configurations but doesn't use this annotation processor. Could you add it to the build file of this module?
Thank you for your advice to the author, so the spring-autoconfigure-metadata.properties contained the feign configuration information ever since Finchley.SR2 version. I found this problem when I used IDEA IDE for studing Spring-Cloud-Feign knowledge with no auto tip during setting application.yml.
As explained in the its reference documentation, Spring Boot provides a
spring-boot-autoconfigure-processor
.This should be added as an optional dependency to the module that contains the AutoConfiguration classes (and contains the
spring.factories
file declaring them).Once configured, this annotation processor will generate metadata at compile time and will help Spring Boot process those auto-configurations without loading the actual classes in some cases.
In this project, the
spring-cloud-openfeign-core
module declares auto-configurations but doesn't use this annotation processor. Could you add it to the build file of this module?Once added, this should generate a
spring-autoconfigure-metadata.properties
file in thetarget/classes/META-INF
folder.See spring-cloud/spring-cloud-commons#377
The text was updated successfully, but these errors were encountered: