Error creating bean with name 'loginRegistration' defined in file [/home/father/cat/apache-tomcat-9.0.56/webapps/ROOT/WEB-INF/classes/com/webApp/controller/LoginRegistration.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [/home/father/cat/apache-tomcat-9.0.56/webapps/ROOT/WEB-INF/classes/com/webApp/service/UserService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userDao' defined in file [/home/father/cat/apache-tomcat-9.0.56/webapps/ROOT/WEB-INF/classes/com/webApp/dao/UserDao.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'userService': Requested bean is currently in creation: Is there an unresolvable circular reference?
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
прошлый раз такая ошибка лечилась просто, я перезапустить проект и всё, а теперь это не лечиться
У тебя внезапно всё в ошибке написано
Обсуждают сегодня