당신을 다른 사람과 비교하지 말고, 오직 어제의 당신하고만 비교하라.
close
프로필 배경
프로필 로고

당신을 다른 사람과 비교하지 말고, 오직 어제의 당신하고만 비교하라.

    • 전체글 (92)
      • 서울살이 정보 (6)
      • Programming (64)
        • spring (7)
        • java (10)
        • DB (1)
        • javascript (4)
        • react (10)
        • error (7)
        • toy_project (12)
        • trouble_shooting (11)
      • it 지식, 정보 (20)
  • mode_edit_outline글작성
  • settings환경설정
  • 홈
  • 태그
  • 방명록
  • 글쓰기
  • 관리
  • 로그인
[thymleaf] 타임리프 키값이 없을때 #maps.containsKey()

[thymleaf] 타임리프 키값이 없을때 #maps.containsKey()

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/quality/qualityInspectionRequestList.html]")] with root cause org.springframework.expression.spel.SpelEvaluationException: EL1..

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 2. 24.
  • textsms
[배포오류] No compiler is provided in this environment

[배포오류] No compiler is provided in this environment

jre의 경로를 보이는 바와 같이 jdk안의 jre로 경로를 잡아주면 해결된다. ​

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 2. 22.
  • textsms
[MyBatis] Clob 데이터 가져오기 오류 No serializer found for class com.tmax.tibero.jdbc.TbClobReader and no properties discovered to create BeanSerializer

[MyBatis] Clob 데이터 가져오기 오류 No serializer found for class com.tmax.tibero.jdbc.TbClobReader and no properties discovered to create BeanSerializer

No serializer found for class com.tmax.tibero.jdbc.TbClobReader and no properties discovered to create BeanSerializer 데이터 타입을 CLOB으로 설정해놓은 데이터를 가져오려고 하니 생긴 오류 밑의 블로그를 참고해 resultMap으로 설정을 하고 가져오니 오류가 사라졌다. SELECT member_id as id FROM tb_member Ref https://guiyomi.tistory.com/64 Spring Mybatis에서 CLOB 데이터 처리 Tibero DB에서 SELECT문으로 데이터를 불러오는 기능을 만들고 있었는데 갑자기 보기 드문 오류가 발생했다. com.fasterxml.jackson.data..

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 2. 6.
  • textsms
[Mysql] Public Key Retrieval is not allowed 오류

[Mysql] Public Key Retrieval is not allowed 오류

DB 연결이 안되고 있는 오류 Public Key Retrieval is not allowed Dbeaver에서 Driver properties - allowPublicKeyRetrieval을 YES로 바꾼다.

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 1. 9.
  • textsms
[오류] Invalid UTF-8 start byte 0xa0; nested exception is com.fasterxml.jackson.core.JsonParseException

[오류] Invalid UTF-8 start byte 0xa0; nested exception is com.fasterxml.jackson.core.JsonParseException

오늘도 오류를 만났다~! 얏호! 하나 더 배운다 아싸 하핫! (나는 울지 않아..) 오류! Invalid UTF-8 start byte 0xa0; nested exception is com.fasterxml.jackson.core.JsonParseException 보내는 쪽과 받는 쪽의 encoding이 달라서 못받고 있는 문제였다. $.ajax({ type: 'post', url: '/getName', dataType:'json', contentType: "application/json; charset=utf-8", data: JSON.stringify(paramData), success: function(data) { console.log(data); } }); @RequestMapping(value..

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 1. 5.
  • textsms
[mybatis] 오류 Invalid column index.

[mybatis] 오류 Invalid column index.

Invalid column index. - xml에서 파라미터가 일치하지 않아서 발생하는 오류이다. - 변수처리에 오류가 생겼을때 발생한다. SELECT * FROM table WHERE = '#{parameter}' 나는 이런식으로 따옴표를 같이 감싸서 사용했다가 오류를 발견했다. 그러니까 밥먹고 졸리다고 무지성으로 하면 안되는 부분인거다. ref https://jetalog.net/118 [MyBatis] java.sql.SQLException: 부적합한 열 인덱스 MyBatis로 개발하던 중 얻었던 '부적합한 열 인덱스'(Invalid column index) 오류에 대해 정리해본다. TL;DR 변수에 대한 Getter, Setter가 올바르게 생성되었는지 확인 문자열이라고 따옴표를 사용했던 것은 ..

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 1. 2.
  • textsms
SVN 설치/연동/사용자 권한/Svn: E175002: SSL handshake failed: 'Received fatal alert: handshake_failure 오류

SVN 설치/연동/사용자 권한/Svn: E175002: SSL handshake failed: 'Received fatal alert: handshake_failure 오류

1. 다운로드 https://www.visualsvn.com/server/download/ Download | VisualSVN Server Download VisualSVN Server Includes Apache Subversion 1.14.2 www.visualsvn.com 2. 설치 3. 레포지토리 생성 4. 유저생성 5. 접근 권한 수정 6. url 복사 오류)) Svn: E175002: SSL handshake failed: 'Received fatal alert: handshake_failure 해결 스프링 새로 깔고 했더니 문제 없이 작동한다.

  • format_list_bulleted Programming/trouble_shooting
  • · 2022. 12. 5.
  • textsms
[jsp] ajax 리턴 받을 때 parsererror가 뜬다면

[jsp] ajax 리턴 받을 때 parsererror가 뜬다면

정말정말 간단한건데 삽질을 얼마나 한지 모르겠네~ https://blog.naver.com/entekk1111/222359784002 20210521_개발자일지_58일차_89_Ajax 실습 김다미의 개발블로그 blog.naver.com 학원에서 배웠던 걸 참고해서 jsp에서 리턴 문제 jsp에서 ajax로 통신을 하고 json으로 값을 받아와야하는데 parsererror가 떴다. ajax.jsp $.ajax({ type: "POST", enctype: 'multipart/form-data', url: "test.jsp", data: data, processData: false, contentType: false, dataType: "json", success: function (data) { consol..

  • format_list_bulleted Programming/trouble_shooting
  • · 2022. 3. 31.
  • textsms
[java] request 에서 file 정보가 null이 떨어지는 이유

[java] request 에서 file 정보가 null이 떨어지는 이유

[문제] fileUpload 함수가 너무 길고 지저분 하게 되어있어서 리팩토링을 하는 도중 request로 파일 객체를 받아서 서버에 업로드를 해야하는데 클라이언트에서 넘겨줄땐 문제 없이 넘어가는데 파싱을 하려고 하면 null로 떴다. [원인] 페이지의 요청이 발생하면 최초 한 번만 자바 코드로 변환된 후 서블릿 클래스로 컴파일 됨 즉, JSP는 실행시 서블릿으로 변환됨 (출처-https://pathas.tistory.com/176) 이것 때문인지 정확한 원인은 모르겠는데 request를 두번 사용해서 값들이 날아간것이었다. [해결] 이 오래된(약 20년 전..) 프레임워크에서 공통적으로 만들어놓은 jsp에서 request를 먼저 받아 multipart인 것들을 파싱하고 있었다. 그 후에 내가 파싱을 시..

  • format_list_bulleted Programming/trouble_shooting
  • · 2022. 3. 30.
  • textsms
[javascript] 날짜 비교 포맷 오류

[javascript] 날짜 비교 포맷 오류

이슈 날짜비교를 하려고 DB에서 날짜를 가져와서 오늘 날짜와 비교를 하는데 오류가 났다. 원인 오늘 날짜 포맷은 "2021-01-27"이었고 DB에서 가져온 날짜 포맷은 "2021-01-31 23:00:33"이었다. 포맷이 맞지 않아 오류가 난 것이다. 해결 DB에서 가져온 날짜 포맷을 "2021-01-31"로 변경했다. 추가 "2021-1-1" 과 "2021-01-01" 또한 포맷이 맞지 않아 오류가 난다. 이럴때는 function leadingZeros(n, digits) { var zero = ''; n = n.toString(); if (n.length < digits) { for (i = 0; i < digits - n.length; i++) zero += '0'; } return zero + ..

  • format_list_bulleted Programming/trouble_shooting
  • · 2022. 1. 27.
  • textsms
  • 1
  • 2
반응형
공지사항
  • 前 블로그
카테고리
  • 전체글 (92)
    • 서울살이 정보 (6)
    • Programming (64)
      • spring (7)
      • java (10)
      • DB (1)
      • javascript (4)
      • react (10)
      • error (7)
      • toy_project (12)
      • trouble_shooting (11)
    • it 지식, 정보 (20)
최근 글
인기 글
최근 댓글
태그
  • #ChatGPT
  • #챗gpt
  • #리액트
  • #챗gpt용량
  • #평생교육바우처온라인발급
  • #챗gpt사용
  • #mac이클립스
  • #mybatis비교연산자처리
  • #자격증
  • #정보처리기사
전체 방문자
오늘
어제
전체
250x250
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바