반응형
@Autowired is disallowed for this location
이 위치에서 @Autowired 가 허용되지 않습니다. 라는 에러
어노테이션의 위치가 잘못된 것이다.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
if문의 조건식이 null 과의 비교인데 mvSelect의 값이 "0" 이기 때문에 null이 아니므로 esle{ } 로 넘어간다.
그리고 mvSelect= mcSelect.substring(2); --> mvSelect= "0".substring(2); "0"에 substring()이 사용되어 에러가 발생했다.
스프링 - java.sql.SQLException: 부적합한 열 유형: 1111
DB에 데이터가 잘못 입력되었거나 null 이 올 수 없는 자리에 null이 들어갔을 때
반응형