Programming/Error & Exception IllegalStateException, NoSuchElementException cdv 2022. 11. 17. 11:24 원인: 메서드에 스캐너를 정의하고 close하고 메인 메서드에서 이를 실행했더니 에러가 남 해결 방법: 메서드를 따로 정의 할 거면 close()를 호출한 다음에 선언하자 똑같은 원인이고 해결방법도 위와 같은 방법으로 하니 해결됨 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기cochon_dev 'Programming/Error & Exception' Related Articles SQLIntegrityConstraintViolationException IndexOutOfBoundsException StackOverflow InputMismatchException