2024-10-08T21:33:06.092+09:00 WARN 19520 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController' defined in file [C:\Users\lobil\git_project\bookleum\Back\Dalcheon\Dalcheon\out\production\classes\Bukgu\Dalcheon\controller\UserController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'userService' defined in file [C:\Users\lobil\git_project\bookleum\Back\Dalcheon\Dalcheon\out\production\classes\Bukgu\Dalcheon\service\UserService.class]: Unsatisfied dependency expressed through constructor parameter 4: Error creating bean with name 'orderRepository' defined in Bukgu.Dalcheon.repository.OrderRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Could not create query for public abstract java.util.Optional Bukgu.Dalcheon.repository.OrderRepository.findAllByUserId(java.lang.String); Reason: Failed to create query for method public abstract java.util.Optional Bukgu.Dalcheon.repository.OrderRepository.findAllByUserId(java.lang.String); No property 'userId' found for type 'OrderDAO'
에러
2024-10-08T21:33:06.092+09:00 WARN 19520 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController' defined in file [C:\Users\lobil\git_project\bookleum\Back\Dalcheon\Dalcheon\out\production\classes\Bukgu\Dalcheon\controller\UserController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'userService' defined in file [C:\Users\lobil\git_project\bookleum\Back\Dalcheon\Dalcheon\out\production\classes\Bukgu\Dalcheon\service\UserService.class]: Unsatisfied dependency expressed through constructor parameter 4: Error creating bean with name 'orderRepository' defined in Bukgu.Dalcheon.repository.OrderRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Could not create query for public abstract java.util.Optional Bukgu.Dalcheon.repository.OrderRepository.findAllByUserId(java.lang.String); Reason: Failed to create query for method public abstract java.util.Optional Bukgu.Dalcheon.repository.OrderRepository.findAllByUserId(java.lang.String); No property 'userId' found for type 'OrderDAO'