I kind of have the same problem as: Hibernate, Java 9 and SystemException
I can follow the steps like this
Update 2019/08/05
Libraries have been updated to allow for better support. Please use the same module-info definitions as
opens xx.xx.xx.entities to org.hibernate.orm.core;
requires java.transaction;
requires java.xml.bind;
requires java.sql;
requires java.activation;
requires java.persistence;
Maven has been simplified greatly
maven-compiler-plugin
org.hibernate
hibernate-jpamodelgen
${maven.hibernate.version}
org.projectlombok
lombok
${lombok.version}
javax.xml.bind
jaxb-api
2.3.0
javax.annotation
javax.annotation-api
1.3.1
org.mapstruct
mapstruct-processor
${mapstruct.version}