에러가 뜨는데 어떻게 해야할지 도저히 모르겠어요
1642
3 asked
도와주세요..
ERROR 37310 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ownerController' defined in file [/Users/soyeonkim0227/Documents/git/spring-petclinic/target/classes/org/springframework/samples/petclinic/owner/OwnerController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'ownerRepository' defined in org.springframework.samples.petclinic.owner.OwnerRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Could not create query for public abstract org.springframework.data.domain.Page org.springframework.samples.petclinic.owner.OwnerRepository.findByFirstName(java.lang.String,org.springframework.data.domain.Pageable); Reason: Using named parameters for method public abstract org.springframework.data.domain.Page org.springframework.samples.petclinic.owner.OwnerRepository.findByFirstName(java.lang.String,org.springframework.data.domain.Pageable) but parameter 'Optional[fistName]' not found in annotated query 'SELECT DISTINCT owner FROM Owner owner left join owner.pets WHERE owner.firstName LIKE :firstName% '
jar 안되는 분들 참고하세요
0
359
1
mvnw 오류
0
463
1
./mvnw package 오류
0
421
2
java -jar target/*.jar 명령어 오류..
0
446
2
./mvnw package 오류
0
278
0
./mvnw package 오류
0
210
1
실행 상태에서 변경내용이 바로 반영되나요 ??
0
225
1
도와주세용 ㅜㅜ
0
206
1
./mvnw package 오류
0
318
1
클론 받은 내용과 수업내용이
0
399
1
./mvnw package 오류
0
1144
2
순환참조와 bean 주입에 대한 질문입니다!
0
407
1
jdk 버전이 자꾸 낮다면서 오류가 발생합니다.
0
891
1
age가 화면에 표시가 안됩니다.
0
395
0
PetClinicApplication() 함수에서 run 을 하고 싶습니다...
0
520
0
h2와 hsqldb가 어떤차이가 있는건지 궁금합니다
0
1244
0
예제가 이전과 다르네요
0
370
0
메이븐으로 설정했는데 그래들이 같이 보일수 있나요?
0
573
1
LogAspect
0
326
1
구현체가 2개 이상일때 생성자 주입
0
366
1
의존성 주입 방법들 장단점
0
493
1
인스턴스의 생명주기와 제어권
0
311
1
IoC 컨테이너 안에 있는 객체들끼리만 의존성 주입
0
372
1
ExampleRepository exampleRepository = new ExampleRepository()
0
247
1

