Debugging

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

유다의 2021. 7. 6. 11:16

Mapper.xml안에 설정 sql문이 없어서 생기는 문제

@Mapper
public interface UserMapper {
    int insUser(UserEntity param);

    UserEntity selUser(UserEntity param);

    int insGoogleUser(UserEntity param);

    UserEntity checkSocialUserExsist(UserEntity param);

    UserEntity chckAuthkey(UserEntity param);

    int upAuth_no(UserEntity param);

    int updUser(UserEntity param);

    UserEntity selId(UserEntity param);

    int updMark(UserEntity param);

    String selNowMark(int authNo);
}

mapper 클래스에 있는 모든 매소드가 mapper.xml 파일안에 sql로 제대로 있는지 확인 있다면 쿼리문 id 오타 확인