inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

스프링 MVC 2편 - 백엔드 웹 개발 활용 기술

스프링이 제공하는 ExceptionResolver1

postman에서 message : ??? 나올 때

해결된 질문

521

Titans

작성한 질문수 1

3

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.

1. 강의 내용과 관련된 질문을 남겨주세요.
2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.
(자주 하는 질문 링크: https://bit.ly/3fX6ygx)
3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.
(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)

질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.
=========================================
[질문 템플릿]
1. 강의 내용과 관련된 질문인가요? (예/아니오)
2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)
3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)

[질문 내용]
혹시 Postman으로 요청을 보냈을 때 ??? 값이 나온다면

Setting > File Encodings > Transparent native-to-ascii conversion 을 체크 해주시고

다시 Postman을 확인해보면 잘 나옵니다!

spring mvc

답변 1

0

인프런 AI 인턴

안녕하세요, 인프런 AI 인턴입니다.

질문하신 내용으로 보아 Postman에서 ??? 값이 나오는 현상에 대한 해결책을 찾고 계신 것 같습니다.
The image shows a snippet of JSON formatted text typically associated with an HTTP response from a web server or API. Here is the content of the JSON:- A `timestamp` field with the value “2024-06-16T04:57:07.657+00:00”, which probably indicates the time when the response was generated.
- A `status` field with the value 404, which is the HTTP status code for “Not Found”.
- An `error` field with the value “Not Found”.
- A `message` field with placeholder text “??? ?? ??????. ??? ??”, which suggests that the actual error message is not included or is obscured.
- A `path` field with the value “/api/response-status-ex2”, which probably indicates the requested path that triggered the 404 error.This error message suggests that the client requested a resource at the given path that does not exist on the server.
The image shows a screenshot of a software development environment, specifically the settings panel for file encodings within an Integrated Development Environment (IDE). The IDE appears to be IntelliJ IDEA, a popular IDE used for software development.On the left side of the screenshot, we see a navigation pane with various settings categories such as “Appearance & Behavior,” “Editor,” and several others. The currently selected setting category is “Editor,” with “File Encodings” highlighted, indicating that the settings being displayed on the right side pertain to file encodings.On the right side, the main panel shows options for “Global Encoding,” “Project Encoding,” and settings for “Default encoding for properties files” as well as an option to “Create UTF-8 files” with or without the Byte Order Mark (BOM). The Global Encoding is set to UTF-8, and the Project Encoding is set to the system default, which is also UTF-8. The properties default is set to ISO-8859-1.There is also a brief informational text and a partially visible table that would list configurations for specific directories or files, should any special encodings be configured – which currently, as stated in the UI, “Encodings are not configured.“This configuration is important for developers to ensure that their text files are saved and interpreted with the correct character encoding, which impacts how text characters are represented and read by the computer, and ensuring consistency across different systems and collaborators.

문제 해결을 위해서 IntelliJ IDEA에서 설정 경로인 Setting > File Encodings > Transparent native-to-ascii conversion 옵션을 체크한 후, 다시 Postman으로 확인하시면 문제가 해결될 것입니다. 문자 인코딩 문제로 발생하는 이 현상은 파일 인코딩 설정을 통해 해결할 수 있으며, UTF-8 인코딩 설정을 확인하시는 것이 좋습니다.

도움이 되었길 바랍니다. 추가적인 질문이 있으시면 도움을 드리기 위해 여기 있겠습니다.

이미지 업로드와 db 트랜잭션 묶는법

0

40

1

Could not resolve org.springframework.boot:spring-boot-starter-validation:2.4.4

0

45

2

MessageSourceTest 코드

0

46

1

인터셉터 에러 설정

0

47

1

resolveArgument()메서드 질문

0

54

1

43강 검증1 에서 실패 로직 관련 질문있습니다.

0

52

2

타임리프 3.X 버전 rendering, serializer 에러 해결 방법

2

130

3

스프링 빈에 등록이 안되는거 같은데 어떻게 하면 좋을까요?ㅠㅠ

0

86

3

pdf 오타 문의

0

54

1

ItemUpdateForm 검증 관련 질문입니다.

0

46

1

22page 링크 주소 변경

0

55

2

특정 데이터와 파일을 함께 저장 시, 테이블 구조 질문

0

52

1

섹션3번 수업에 대한 질문입니다.

0

78

2

@Autowired 보다 더 좋은 방법이 어떤 걸까요?

0

84

2

타입컨버터 가 람다랑 비슷해 보이는데 저의 생각이 맞는지?.

0

63

1

자바스크립트 인라인에서 객체 직렬화 시 오류가 납니다

0

140

3

스프링부트 - 오류페이지2 에서 500.html 에서 쓰인 객체 질문

0

62

1

톰캣 에러 페이지가 안보입니다.

0

98

2

apiEceptionController에서 센드 에러 호출하면 안되는지?

0

80

1

세션 타임아웃시 쿠키 삭제 방법이 없나요?

0

116

2

ApiExceptionController 질문드립니다.

0

62

1

셀렉박스 챕터에서 option value에 ==배송 방식 선택== 이것을 넣은 이유가 궁금함, 이렇게 구상해도 되는지?

0

64

1

MemberRepository 필드의 fianl 선언 유무

0

83

2

혹시 index.html 에서는 fragment 사용이 안되는건가요

0

57

1