'What does Spring do if spring.beaninfo.ignore is set to true?
I noticed Spring Boot set spring.beaninfo.ignore as true if it's not set. What does Spring do with respect to this property?
Solution 1:[1]
"spring.beaninfo.ignore", with a value of "true" means skipping the search for BeanInfo classes (typically for scenarios where no such classes are being defined for beans in the application in the first place).
The default is "false", considering all BeanInfo metadata classes, like for standard Introspector.getBeanInfo(Class) calls. Consider switching this flag to "true" if you experience repeated ClassLoader access for non-existing BeanInfo classes, in case such access is expensive on startup or on lazy loading.Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yogi |
