[Spring]sts에 JPA 환경세팅하기

·2023년 2월 7일
0

환경설정

목록 보기
1/2

🫠프로젝트에서 JPA를 사용하려고 했는데 sts에서 보이지 않아 방법이 없을까..? 해서 찾아보게 되었다 😢

  1. 상단의 Help - install new software

  2. Work with: http://download.eclipse.org/releases/oxygen 입력 후 기다림

  3. 조회 되면 type filter text 검색창에 JPA 입력

  4. 검색 후 하위에 있는 4개 파일 체크

  5. 4번째 체크박스 옵션(Contact all update during install to find required software) 해제

  6. finish 클릭 후 install 될때까지 기다림
    🌼중간에 알림창이 뜨는데 무시하고 계속 진행

  7. 설치가 끝나면 재시작 하겠냐는 알림창이 뜸. 재시작

  8. 프로젝트 우클릭 - 속성 - Project Facet에 JPA 생성된 것 확인. 하지만 JPA 선택시 apply가 활성화 안됨

  9. 하단에 further configuration required 링크 클릭

  10. JPA implemetation type을 Disable로 변경 후 저장

  11. src/META-INF에 persistence.xml 생성된 것을 확인 후 수업시간에 작성한 것과 비교하여 내용 수정

👍참고 블로그 :
https://developer-joe.tistory.com/228
https://ozofweird.tistory.com/entry/Spring-JPA

profile
웹개발입문자

0개의 댓글