SbbApplicationTests에서 JUnit Test런을 하면 x표시하며 오류가나요!!!
162
投稿した質問数 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에 뜹니다
강의 관련 질문드립니다.
1
9
2
25-2 분기커버리지
0
12
0
강의자료가 없나요?
0
7
0
25-2 이론 재탕
0
17
1
25-1 이론 재탕
0
16
1
intellij나 파이참 기준 어떻게 하는지 궁금합니다
0
19
2
Jib 빌드가 83%에서 멈추는 문제 해결(windows 사용자)
1
15
1
런타임 에러
0
13
0
서브넷 마스크
0
24
1
jenkins 노드 구성 실습 오류 수정
1
19
1
상세 설정까지 이해하시는 비결이 궁금합니다
1
33
2
LiveReload++ 비활성화
0
72
1
SbbApplicationTests 런오류 tetJpa부분?
0
130
1
쿼리문이 console에서 형성이 안되고 아래와 같은 코드오류걸려요
0
162
1
SbbApplicaitonTest JUnit 테스트 런을 하면 아래와 같은 오류가 Console에 뜹니다
0
164
1
[리포지터리] SbbApplicationTests에서부터 오류
0
143
1
3-9에서 오류 발생
0
139
0
프로젝트 생성오류 (gradle)
0
271
1
프로젝트 생성 오류
0
1689
1
h2 console 뭔짓을 해봐도 안되네요,..
0
610
1
프로젝트 생성 시 gradle 호환
0
385
2
H2 > IO Exception [90028-224] 해결법을 모르겠습니다
0
1019
1
sts 버전
0
429
1
<템플릿, 타임리프, 루트 URL, 서비스 URL, 프리픽스 등의 개념과 활용>이 동영상은 전편의 동영상이랑 내용이 같은거 같은데요??
0
568
1

