I have a simple SpringBoot 2.1.0
application and try to add the database-connectivity with JPA
. Everything is set up with the \"spring-boot-start
It worked for me when I removed the folder for hibernate
from the path
C:\Users\<Your user>\.m2\repository\org
Also deleted the folder net\bytebuddy
In eclipse, Right Click on the project and then Maven -> Update Project
add dependency in pom.xml
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-dep</artifactId>
<version>1.9.12</version>
</dependency>
Byte Buddy is used by Hibernate. By forcing Byte Buddy into test scope, the library is now missing at runtime.
For me helped adding the following to the module-info.java
file:
requires net.bytebuddy;
This is only applicable for applications with Java 9 or higher.