-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[오류] p.62 #234
Comments
코드를 import 쪽에 붙여넣기 해보시겠어요? |
이클립스에 따로 작성후 붙여 넣어도 에러가 안없어지고 |
불여 넣기 하고 컴퓨터를 재부팅하니까 되네요.. |
@dkyou7 님 답변 감사합니다 ㅠㅠ @interstander 님 해결하시느라 고생하셨습니다 :) |
저도 같은 오류가 있었는데요. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
기존에 올라온 질문이 아닌지 먼저 검색해주세요!
--검색에 안보이길래 질문 드려봅니다.
가장 자주 나온 제보
어떤 오류인가요?
오류설명: 테스트 코드를 따라서 작성중인데.
mvc.perform(get("/hello"))
.andExpect(status().isOk())
.andExpect(content().toString(hello));
이 부분에서 get()하고 status(), content()가 에러가 납니다.
가능한 책하고 버전은 똑같이 하며 혹시 잘못한 데가 있나 싶어서 코드를 받아서 복사했는데.
상단에
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
이것도 임포트가 안됩니다.
프로젝트 주소
Github에 오류가 난 프로젝트를 올려주세요.
Github 주소를 작성해주지 않으시면 답변해드릴수가 없어요!
//오류가 있는 상태로 커밋해서 푸시해 두었습니다.
오류 로그
어떤 오류인지 캡쳐해주세요.

The text was updated successfully, but these errors were encountered: