728x90
728x90
SQLSyntaxErrorException / Incorrect string value
트러블슈팅2023. 2. 1. 10:05SQLSyntaxErrorException / Incorrect string value

SQLSyntaxErrorException 에러 원인 작업 중인 DB에 user라는 테이블이 존재하지 않음 해결 VIDEO테이블에 접근 해야 하는데 경로 지정을 잘못 해 준 케이스로 video_SQL.xml 파일에서 쿼리로 접근하는 insert into user → insert into VIDEO로 수정 Incorrect string value: ‘\xEB\x82\x98\… 에러 원인 DB의 데이터 타입이 TEXT인데 View에서 한글 입력 시 DB에서 UTF-8로의 인코딩이 되지 않아 발생하는 문제 해결 해당 테이블의 Charset 변경 ALTER TABLE `USER` CONVERT TO CHARSET UTF8;

MySQL서버 접속 시 No directory, logging in with home=/ 에러
트러블슈팅2023. 1. 26. 18:04MySQL서버 접속 시 No directory, logging in with home=/ 에러

에러 구름IDE를 이용하여 MySQL과 연동하는 과정에서 MySQL 서버 시작 시 홈 디렉토리가 "/" 로 설정되어있어서 발생 해결 아래 세 줄을 차례로 입력 sudo service mysql stop sudo usermod -d /var/lib/mysql/ mysql sudo service mysql start

[이클립스 / STS]  A java Runtime Environment (JRE) or Java Development Kit(JDK) must be available in order to run 에러
트러블슈팅2023. 1. 18. 21:14[이클립스 / STS] A java Runtime Environment (JRE) or Java Development Kit(JDK) must be available in order to run 에러

해결방법 이클립스 혹은 STS가 설치된 폴더의 ini파일을 수정하면 된다. 이클립스는 eclipse.ini, STS는 STS.ini이다 ini파일 최상단에 아래와같이 추가시켜주면 된다. -vm JDK 설치경로\bin\javaw.exe

트러블슈팅2023. 1. 6. 22:00Property or field 'token' cannot be found on null - 타임리프 에러 / 스프링부트 게시판 만들기 중 오류

에러문구 org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates//question/question_form.html]") (...생략...) Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "csrf.token" (template: "/question/question_form" - line 5, col 60) (...생략...) Caused by: org.springframework.expression.spel.SpelEv..

Periodic workspace - STS 에러
트러블슈팅2022. 12. 23. 09:53Periodic workspace - STS 에러

STS 사용 중 이런 에러가 발생했다 해결방법 Workspace로 이동 →→ .metadata →→ .plugins →→ org.eclipse.core.resources →→ .projects 로 이동해서 Servers 폴더를 생성 해 준다

스프링부트 질문 상세 페이지 학습 중 발생한 오류(status=500)
트러블슈팅2022. 12. 7. 12:23스프링부트 질문 상세 페이지 학습 중 발생한 오류(status=500)

에러 더보기 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Wed Dec 07 11:50:25 KST 2022 There was an unexpected error (type=Internal Server Error, status=500). An error happened during template parsing (template: "class path resource [templates/question_list.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened dur..

728x90
728x90
image