🌳 에러 코드 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..
🌳 에러 코드 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 at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValueInternal(RequestParamMethodArgumentResolver.java:210) at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValue(RequestParamMethodArgumentResolver.java:19..
🌳 에러 코드 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..
🌳 에러 코드 ### 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..
🌳 에러 코드 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..