DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'demoRestController'

I am new to Spring and I am try to make a application for learning but I am getting problem in Autowiring,I am adding my code. I am working on spring boot.

Spring Boot Code

public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}

LoginBean.java

Top comments (0)