본문 바로가기
에러코드 정리

Board Error

by 코도꼬마 2023. 4. 3.
  • Error code : PropertyNotFoundException

  • 원인 : <c:forEach> 에서 list 불러올 때 selector 사용해서 ${list}로 불러오기!! 

 

 

  • Error code
### Error updating database.  Cause: java.sql.SQLSyntaxErrorException: 
(conn=513) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(subject,user_name,content)
### SQL: INSERT INTO (subject,user_name,content)    VALUES(?,?,?)
  • 원인 : SQL문 오류 - 테이블명 작성하지 않음 

 

  • Error code : java.nio.file.NoSuchFileException: C:\img\uploard\1680662251033.png
  • 원인 : 파일 저장 경로 오타

 

  • Error code
    • org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): kr.co.gudi.dao.DAO.fileWrite
  • 원인 : mapper id와 dao 메서드 이름이 다름

 

  • Error code : org.apache.ibatis.binding.BindingException: Parameter 'idx' not found. Available parameters are [arg2, arg1, arg0, param3, param1, param2]
  • 원인 : 매퍼에 파라메터 타입 지정없이 VALUES에 파라메터 이름으로 작성

 

 

 

'에러코드 정리' 카테고리의 다른 글

Spring Boot Error  (0) 2023.05.26