일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Python
- 리팩토링
- Winform
- 리눅스
- git
- Spring Boot
- 도커
- Spring
- docker
- Java
- github
- 쿠버네티스
- c#
- machine-learning
- 머신러닝
- 파이썬
- kubernetes
- react
- VOA
- 마이바티스
- 자바
- 스프링
- 영어공부
- 리액트
- mybatis
- MySQL
- AWS
- 스프링부트
- springboot
- DataGridView
Archives
- Today
- Total
목록RestTemplate (1)
보뇨 다이어리
Unsatisfied dependency expressed through field 'restTemplate' 에러
일단 테스트코드부터 막 짜본거라 돌아가는것만 확인해보자 @SpringBootTest @RunWith(SpringRunner.class) public class DivisionServiceTest { private final String URL = "http://127.0.0.1:8080/api/students/53"; @Autowired private RestTemplate restTemplate; @Test public void test() { ResponseEntity response = restTemplate.getForEntity(URL, Student.class); assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK); assertThat..
컴퓨터 관련/Java 정보
2019. 7. 25. 10:22