inflearn logo
Khóa học

Khóa học

Chia sẻ kiến thức

Bài viết của 1004lucifer

1004lucifer 1004lucifer

@1004lucifer

Số lượng đánh giá đã viết
-
Xếp hạng trung bình
-

Bài viết 3

Hỏi & Đáp

HateOas 가 업데이트가 되어서, "Spring HATEOAS" 코드를 아래처럼 하셔야 될겁니다.

이걸보고 따라 했더니 에러가 해결이 되었는데 테스트가 안되서 봤더니 @Test public void hello() throws Exception { mockMvc.perform( get ("/hello")) .andDo( print ()) .andExpect( status ().isOk()) .andExpect( jsonPath ("$.links.self").exists()); } $.links.self 부분에 _가 생겨서 $._links.self 이렇게 하니까 테스트가 잘 되네요

Lượt thích
0
Số bình luận
2
Lượt xem
382

Hỏi & Đáp

SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.

@huhu 업로드하는 파일명에 띄어쓰기 또는 특수문자 같은게 들어가지 않았는지 확인해 보세요. 업로드하는 파일명을 띄어쓰기 없는 순수 영어로된 파일로 테스트를 한번 해보세요. https://icthuman.tistory.com/entry/AWS-Java-SDK-S3-File-upload

Lượt thích
0
Số bình luận
2
Lượt xem
5536