빌드 에러1 스프링 부트 jar 파일 Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed 에러 해결 아래 내용을 추가하고 mvn packge 를 해보자. 1 2 3 4 5 javax.xml.bind jaxb-api Colored by Color Scripter cs 스프링 부트이기 때문에 버전은 입력하지 않아도 된다 build 부분은 아래처럼 작성하면 된다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 org.springframework.boot spring-boot-maven-plugin com.example.postgresdemo.PostgresDemoApplication//메인 클래스 위치 true true com.example.postgresdemo//메인 클래스가 있는 패키지 이름 Colored by Color Scripter cs 2018. 11. 23. 이전 1 다음