inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

JPA

jpa 회원가입 통합테스트 과정에서 에러가 발생했습니다 무엇이 문제일까요?ㅠㅠ

1256

build_ash

작성한 질문수 2

0

이전강의에서 에러가 발생한 적은 없고 이번 강의도 잘 진행하다가 회원가입 통합테스트 과정에서 에러가 발생하였습니다ㅠㅠ 

아래에 에러 전문 첨부하였습니다. 무엇이 문제일까요?

 

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'spring.jpa-org.springframework.boot.autoconfigure.orm.jpa.JpaProperties': Could not bind properties to 'JpaProperties' : prefix=spring.jpa, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.jpa.show-sql' to boolean

 

Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'spring.jpa-org.springframework.boot.autoconfigure.orm.jpa.JpaProperties': Could not bind properties to 'JpaProperties' : prefix=spring.jpa, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.jpa.show-sql' to boolean

 

Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.jpa.show-sql' to boolean

 

Caused by: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [boolean] for value 'ture'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [ture]

 

Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'boolean'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [ture]

 

Caused by: java.lang.IllegalArgumentException: Invalid boolean value [ture]

 

 

java MVC spring spring-boot

답변 1

0

OMG

안녕하세요. build_ash님, 공식 서포터즈 OMG입니다.

올리신 에러 메시지를 보면 다음과 같이 어느 부분에서 문제가 발생하는지 나와있습니다.

 

 

ture를 true로 바꿔도 문제가 발생할 경우 댓글 남겨주세요.

감사합니다.

0

build_ash

true로 바꾸고 바로 해결됐습니다!! build.gradle에서 오류가 발생한줄알고 거기만 살펴봤는데 간단한 문제였네요ㅜㅜ 감사합니다!

DataSourceUtils.releaseConnection 할때요 SQLException e 사용하는 이유등

0

45

2

수업자료 오타

0

39

2

HelloSpringApplication.java 클래스 실행 오류

0

60

1

스프링 빈 등록 방법 2가지 다 알아야하는 이유

0

80

1

스프링 부트 버전 질문

0

188

2

인텔리제이 오류

0

145

1

..

0

188

2

Unused property.....

0

195

2

project JDK is misconfigured

0

257

2

외부 API의 ID 타입(String/UUID)과 내부 도메인의 ID 타입(Long)이 불일치할 때의 설계 정석

0

141

2

단위/통합 테스트 버전충돌 문제

0

158

2

❗️springboot 4.0.2 버전 aspectj dependency 설정❗️

0

323

1

왜 컨트롤러는 변한게 없는데 새로 만든 html 파일이 뜨나요?

0

171

2

윈도우 build test오류 질문

1

198

2

테스트 관련 공부에 대한 조언을 얻고 싶습니다

0

168

2

테스트 실행 시 에러 질문

0

429

1

name을 통한 비교와 객체를 통한 비교

0

118

1

빌드 후 libs 없음

1

208

1

윈도우 gradlew.bat 에러

0

261

1

@PostMapping("/members/new")가 동작하지 않습니다

0

138

1

java static class와 kotlin class

0

129

1

스프링 DB연결

0

191

1

소요 시간

0

129

2

ddl.sql에 빨간 밑줄

1

157

2