코딩 에러 및 질문

코딩 에러 및 질문

org.apache.ibatis.binding.BindingException:

🌳 에러 코드 2023-04-30 21:42:10,680 ERROR [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet]] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.sns.following.dao.FollowingMapper.selectFollowingCountByFollowingUserId..

코딩 에러 및 질문

Request method 'POST' is not supported]

🌳 에러 코드 2023-04-26 12:47:07,894 WARN [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported] 2023-04-26 12:47:07,895 DEBUG [org.springframework.web.servlet.DispatcherServlet] Completed 405 METHOD_NOT_ALLOWED 2023-04-26 12:47:07,897 DEBUG [org.springframework.web..

코딩 에러 및 질문

맥북 - 이클립스 유용한 단축키

command + f => 검색 Control + option(alt) + h => call Hierarchy 부르기 . command + shift + r => 메소드 검색.

코딩 에러 및 질문

java.lang.StringIndexOutOfBoundsException

🌳 에러 코드 Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 5 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:48) at java.base/java.lang.String.charAt(String.java:1515) at day01/Backjoon.day12.main(day12.java:34) 🌳 해결 방법 🌾 원인 : 숫자 범위 벗어나서 생긴 원인. charAt은 스트링 사이즈와 동일할때 발생한다. 🌾 해결 방법 : 스트링 사이즈보다 하나 더 작게 설정한다. public class StringIndexOutOfBou..

코딩 에러 및 질문

java.lang.NumberFormatException: For input string: "comment"

🌳 에러 코드 Stacktrace:] with root cause java.lang.NumberFormatException: For input string: "comment" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) Thu Apr 20 18:39:20 KST 2023 There was an unexpected error (type=Internal Server Error, status=500). For input string: "comment" java.lang.NumberFormatException: For input string: "comment" at java.base/java.l..

코딩 에러 및 질문

org.springframework.web.multipart.MultipartException: Current request is not a multipart request

🌳 에러 코드 org.springframework.web.multipart.MultipartException: Current request is not a multipart request at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValueInternal(RequestParamMethodArgumentResolver.java:210) at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValue(RequestParamMethodArgumentResolver.java:19..

코딩 에러 및 질문

"ERROR" dispatch for POST "/error", parameters={}

🌳 에러 코드 2023-04-15 00:48:00,501 DEBUG [org.springframework.web.servlet.DispatcherServlet] Completed 405 METHOD_NOT_ALLOWED 2023-04-15 00:48:00,501 DEBUG [org.springframework.web.servlet.DispatcherServlet] "ERROR" dispatch for POST "/error", parameters={} 2023-04-15 00:48:00,502 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] Mapped to org.springframewor..

코딩 에러 및 질문

org.apache.ibatis.exceptions.TooManyResultsException:

🌳 에러 코드 2023-04-14 15:58:04,738 ERROR [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet]] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.mybatis.spring.MyBatisSystemException] with root cause org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returne..

코딩 에러 및 질문

에러 - java.sql.SQLSyntaxErrorException

🌳 에러 코드 ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`phoneNumber` = '010-0000-0000'' at line 15 ### The error may exist in file [/Users/hongyuri/Desktop/메가스터디 IT/Spring노트북/clone/bin/main/mappers/bookingMapper.xml] ### The error may invol..

코딩 에러 및 질문

에러 - ClassNotFoundException

🌳 에러 코드 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu Apr 06 12:23:48 KST 2023 There was an unexpected error (type=Internal Server Error, status=500). org.apache.jsp.WEB_002dINF.jsp.lesson06.booking_005finsert_005flayout_jsp java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsp.lesson06.booking_005finsert_005flayou..

요가하는 개발자
'코딩 에러 및 질문' 카테고리의 글 목록 (8 Page)