Framework
Spring Boot: Fixing "Parameter 0 of constructor required a bean of type String"
Jason Yang · 22 Nov, 2025
Spring Boot 'required a bean of type String' error? It often hits when switching to constructor injection. How to correctly inject @Value into constructors.