본문 바로가기

개발노트23

Uncaught SyntaxError: Unexpected token < 에러 Uncaught SyntaxError: Unexpected token < 에러 내부에서 JSTL을 이용하는 과정에서 이런 에러가 나타났다. 그 외에도 등을 이용할 때 자주 나타나는데 단순히 JSTL문법을 사용하겠다는 선언을 하지 않았기 때문이었다.........! 이런 실수는 하지말자ㅠ.ㅠ 2018. 2. 6.
MyBatis insert 후 auto_increment값 바로 가져오기 MyBatis insert 후 PK(auto_increment)값 바로 가져오기 게시판을 만들면서 auto_increment값을 바로 가져와야 자식 테이블에 key를 등록해줄 수 있었다. 그렇지만 일일이 구현하려 하니 foreign Key가 일치하지 않는다는 오류만 줄줄이 떴고 구글링을 하자 굉장히 편리한 기능이 있었다! INSERT INTO proj_post_board (post_num, post_title, post_filePath, post_content, post_regr_id, post_modr_id, post_proj_num) VALUES(#{post_num}, #{post_title},#{post_filePath},#{post_content}, #{post_regr_id}, #{post_mo.. 2018. 2. 4.
For input string: "post_title" 에러 For input string: "post_title" 에러 HTTP Status 500 - java.lang.NumberFormatException: For input string: "post_title"org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "post_title" org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:560) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476) org.apache.ja.. 2018. 2. 4.
Cannot find class [com.mysql.jdbc.Driver] 에러 해결 방법 Cannot find class [com.mysql.jdbc.Driver] 에러 해결 방법 [ 에러 명 ]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.St.. 2018. 1. 27.