업무용48 @requestBody 쓰고 415에러 뜰 경우 415 (Unsupported Media Type) https://ebom.tistory.com/entry/%EC%A0%84%EC%9E%90%EC%A0%95%EB%B6%80%ED%94%84%EB%A0%88%EC%9E%84%EC%9B%8C%ED%81%AC-ResponseBody-%EA%B4%80%EB%A0%A8-%EC%84%A4%EC%A0%95-%EC%B6%94%EA%B0%80Converter 2024. 12. 26. war배포할 때 war파일을 풀어서 appbase경로에 넣어주면 된다 2024. 12. 18. dbeaver CLIENT_PLUGIN_AUTH is required https://downloads.mysql.com/archives/c-j/ MySQL :: Download MySQL Connector/J (Archived Versions)Please note that these are old versions. New releases will have recent bug fixes and features! To download the latest release of MySQL Connector/J, please visit MySQL Downloads. MySQL open source software is provided under the GPL License.downloads.mysql.com페이지로 가서 connector 다운 후 2024. 12. 3. api연습 중 ajax값 undefined발생 .. (문자열 json보낼 시 parse두번)// JSON.parse한 값 undefined 예전에 공공데이터 api 할때는 자바에서 json데이터 쏴주고 아래처럼 했었다(서블릿 사용 시)근데 스프링에서 하니까 왠진 몰겠는데 let datas = JSON.parse(this.responseText); 가 아래 값인데 console.log("item:", datas.gyeongnamculturallist.body.items.item); 이게 아래처럼 나온다 -이 문자열은 실제 JSON 객체 {"key":"value"}가 이스케이프된 형태이렇게 이중 이스케이프된 JSON 문자열을 JSON.parse로 파싱하려면 두 번의 파싱이 필요하다고 한다한 번만 파싱한 JSON문자열은 typeof를 찍어보면 string으로 나오기 때문에..속성을 못찾는다고 함.. 아래가 자바에서 보낸 문자열 json데이터 실.. 2024. 9. 20. 이전 1 2 3 4 ··· 12 다음