ERROR

[ERROR] No tests found for given includes: [com.express.freight.common.UserRedisRepositoryTest.test]

2023. 12. 26. 15:44
목차
  1. 그 외 에러 @ID 문제
  2. 무슨 에러?
  3. 언제 발생?
  4. 해결책 : 
728x90
반응형

그 외 에러 @ID 문제

 

@Id 어노테이션을 

 org.springframework.data.annotation.Id 로 임포트 해야 한다 그렇지 않을 경우, 

 

Error creating bean with name '?? repository' defined in ?? repository defined in @EnableRedisRepositories declared on RedisRepositoriesRegistrar.EnableRedisRepositoriesConfiguration: 
Invocation of init method failed;

 

Bean 등록이 안될 수 있다. ( 프로젝트 실행이 안된다! ) 

 

 

무슨 에러?

Spring Boot Test시 test를 찾지 못해서 발생하는 에러.

 

 

언제 발생?

Junit Test 시에 발생한다.

 

 

redisRepository Test 시에 발생했다.

 

에러 전문 : 

Execution failed for task ':test'.
> No tests found for given includes: [cohttp://m.express.freight.common.UserRedisRepositoryTest.test](--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.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 566ms
6 actionable tasks: 2 executed, 4 up-to-date

 

 

 

해결책 : 

Settings에서

 

 

Run Tests using 을 Intellij IDEA로 변경한다.

320x100
반응형
저작자표시 (새창열림)

'ERROR' 카테고리의 다른 글

[ERROR] Datagrip bug  (0) 2024.07.31
[intellij] Stuck Scanning files to index  (0) 2023.06.10
[ERROR] Invalid character found in the request target ... The valid characters are defined in RFC 7230 and RFC 3986  (0) 2023.05.19
[ERROR] com.querydsl.core.types.ExpressionException  (0) 2023.02.27
[ERROR] CORS React (CRA) + JAVA 11  (0) 2022.07.24
  1. 그 외 에러 @ID 문제
  2. 무슨 에러?
  3. 언제 발생?
  4. 해결책 : 
'ERROR' 카테고리의 다른 글
  • [ERROR] Datagrip bug
  • [intellij] Stuck Scanning files to index
  • [ERROR] Invalid character found in the request target ... The valid characters are defined in RFC 7230 and RFC 3986
  • [ERROR] com.querydsl.core.types.ExpressionException
girin_dev
girin_dev
기록합시다.
250x250
girin_dev
girin_dev
girin_dev

github.com/jaemanc


전체
오늘
어제
  • 분류 전체보기 (122)
    • ALGORITHM (23)
    • AWS (4)
    • Effective Java (4)
    • ERROR (12)
    • DB (11)
    • JAVA (23)
      • SPRING (10)
    • PYTHON (5)
      • TOY_PROJECT (1)
    • MOBILE (4)
    • SERVER (8)
    • TIPS (16)
    • WAS (2)
    • 새싹 일기 (5)
    • DATA (2)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • Chat GPT
  • JAVA 11
  • 다이나믹 프로그래밍
  • 가장 큰 수
  • error
  • 바질 페스토
  • dp
  • react-native
  • IntelliJ
  • querydsl
  • java
  • Flutter
  • centos7
  • 프로그래머스
  • CentOS 8
  • jwt
  • Effective Java
  • offset
  • oracle cloud
  • springboot
  • 새싹
  • oracle
  • vertica
  • python3
  • spring boot
  • docker
  • lis
  • 바질 키우기
  • 바둑이
  • 바질

최근 댓글

최근 글

hELLO · Designed By 정상우.
girin_dev
[ERROR] No tests found for given includes: [com.express.freight.common.UserRedisRepositoryTest.test]
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.