Java Spring boot Consider defining a bean of type - Java Community | Help. Code. Learn.