SbbApplicationTests에서 JUnit Test런을 하면 x표시하며 오류가나요!!!
126
작성한 질문수 14
package com.mysite.sbb;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SbbApplicationTests {
@Autowired
private QuestionRepository questionRepository;
@Test
void testJpa() {
Question q = this.questionRepository.findBySubjectAndContent(
"sbb가 무엇인가요?", "sbb에 대해서 알고 싶습니다.");
assertEquals(1, q.getId());
}
}
답변 1
0
TaskSchedulingConfigurations.ThreadPoolTaskSchedulerBuilderConfiguration#threadPoolTaskSchedulerBuilder matched:
- @ConditionalOnMissingBean (types: org.springframework.boot.task.ThreadPoolTaskSchedulerBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition)
TransactionAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.transaction.PlatformTransactionManager' (OnClassCondition)
이런오류가 console에 뜹니다
cursor 환경
0
4
1
실전 문제 풀이 15 - Q. 14
0
6
0
7강 보고 있는데요.. 글자가 너무 작아요
0
3
0
개발 환경 준비와 프로젝트 구조 강의 관련
1
6
2
무한 depth 구현 중 CommentPath 관련 질문
0
10
1
저장 공간
1
17
2
헥사고날 아키텍처와 DDD를 적용할 때, 화면에 강하게 연관된 조회 데이터를 어떻게 다루는 게 좋은지 궁금합니다.
0
24
2
DLQ의 수동 커밋에 대해서 질문있습니다.
0
28
2
정처기 26-2회. 9번 질문드립니다!
0
27
1
노션링크가 접근되지 않습니다.
0
19
1
프리티어 (무료플랜) 은 스토리지 게이트웨이 생성이 안되는것 같습니다.
0
8
1
LiveReload++ 비활성화
0
45
1
SbbApplicationTests 런오류 tetJpa부분?
0
96
1
쿼리문이 console에서 형성이 안되고 아래와 같은 코드오류걸려요
0
121
1
SbbApplicaitonTest JUnit 테스트 런을 하면 아래와 같은 오류가 Console에 뜹니다
0
128
1
[리포지터리] SbbApplicationTests에서부터 오류
0
119
1
3-9에서 오류 발생
0
118
0
프로젝트 생성오류 (gradle)
0
239
1
프로젝트 생성 오류
0
1636
1
h2 console 뭔짓을 해봐도 안되네요,..
0
557
1
프로젝트 생성 시 gradle 호환
0
352
2
H2 > IO Exception [90028-224] 해결법을 모르겠습니다
0
983
1
sts 버전
0
406
1
<템플릿, 타임리프, 루트 URL, 서비스 URL, 프리픽스 등의 개념과 활용>이 동영상은 전편의 동영상이랑 내용이 같은거 같은데요??
0
538
1





