Error creating bean with name 'entityManagerFactory' when add spring boot jpa dependency
<dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId></dependency>
Add this dependency in pom.xml
The latest version could be found here : mvnrepository.com
Your dependencies is conflicted i thought. You can check it using the command in console.
mvn dependency:tree -Dverbose
Good luck.
tried this following line in VM arguments in any IDE like eclipse or STS
--add-modules java.xml.bind
Good Luck ...!!