error required a bean of type java code example
Example: required a bean of typ
@SpringBootApplication(scanBasePackages={"com.example.something", "com.example.application"})
@SpringBootApplication(scanBasePackages={"com.example.something", "com.example.application"})