에러잡기

no name·2023년 12월 15일

Spring

목록 보기
3/3

debug 에러(서버를 한번이라도 켜야만 설정 가능)

  • 프로젝트 우측 클릭 > Run As > Run Configurations > Arguments 탭 에서 아래 문구 추가
  • --debug

DB 설정 에러

Failed to determine a suitable driver class
SpringExampleApplication.java에서 클래스명 위에 어노테이션 추가(디비 연동전에 임시로 넣는 코드)

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})

profile
Study Space

0개의 댓글