inflearn logo
강의

Course

Instructor

Real-world! Spring Boot and JPA Utilization 1 - Web Application Development

JPA and DB Configuration, Operation Verification

MemberRepositoryTest 실행오류

833

taetae

12 asked

0

[질문 템플릿]
1. 강의 내용과 관련된 질문인가요? (예)
2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)
3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)

[질문 내용]
다른 질문게시판에도 찾아봤지만 내용이없어서 올립니다.

MemberRepositoryTest를 실행하면


Execution failed for task ':test'.

Execution failed for task ':test'.

> No tests found for given includes: [jpabook.jpashop.MemberRepositoryTest](--tests filter)

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2s

4 actionable tasks: 1 executed, 3 up-to-date

 

라고 오류가 뜹니다

compiler에서 --warning-mode=all --stacktrace 를 입력하고 file -> Invalidate Caches / Restart를 눌러서 재실행해도 되지않아요ㅜ


java spring 웹앱 spring-boot jpa

Answer 2

0

OMG

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

application.yml은 각 설정마다 띄어쓰기가 매우 중요합니다.

jpa는 datasource:와 같은 위치에 이동시켜야하고, 그 하위도 마찬가지로 앞으로 (왼쪽으로) 2칸씩 이동해야합니다.(띄어쓰기 기준으로는 2칸이고, 화면에 세로줄 기준 1칸입니다.)

헷갈린다면 강의 화면 혹은 메뉴얼을 참고해주세요 😀

image

감사합니다.

0

taetae

https://drive.google.com/file/d/1VVLamJ7unl8hVFicU5yxQkZRl7MPHOfh/view?usp=sharing
구글드라이브로 오류 뜨는 전체 프로젝트 파일 업로드시켜놨습니다.

sdk 설정 오류

0

49

2

오탈자 - @Transactional

0

55

1

src/test/resources 테스트 경로 문제

0

50

1

상품 등록후 H2 db 출력 순서 바꿀 수 있나요?

0

63

1

MemberRepositoryTest 실행오류

0

81

1

boot 4.x >>> trasasction rolled back log & p6spy(영한님, 수업 자료 업데이트 해주시면 감사하겠습니다!!)

1

183

2

강의 마지막 QueryDSL 사용 부분 질문있습니다

1

137

2

클라이언트에서 isbn과 author 수정 요청을 한 경우에 대해 질문드립니다.

0

51

1

도메인 모델 패턴 vs 트랜잭션 스크립트 패턴

0

71

1

기본 생성자

0

60

1

h2 DB 연결시 jdbc url 변경 이유가 궁금합니다.

0

100

1

멤버서비스테스트 부분에서 막힙니다.

0

164

4

실무에서도 EntityManager를 이용해서 많이 작업하는 편일까요?

0

116

1

초반에 h2 다운로드 과정 꼭 필요한가요?

0

118

2

자신 필드에도 get으로 접근하는 이유가 있을까요?

0

112

1

24분 27초 연관관계 편의 메서드 위치

0

113

1

단건 주문만 가능하게 한건 의도한 부분이신가요?

0

108

2

빌드 툴, Gradle

0

59

1

h2연결은 된 것 같은데 엔티티 테이블까지 작성 후 확인해보아도 테이블이 안보입니다

0

76

2

Repository에서 EntityManager 주입 방식 차이

0

88

1

롬복과 사용자 정의 setter 메서드

0

71

1

주문 목록 조회 fetch join 질문드립니다

0

81

1

dirty checking 질문드립니다.

0

81

1

동시성 관련 질문입니다

0

73

1