I am trying to build the hibernate-orm from the source in GitHub: https://github.com/hibernate/hibernate-orm.
I followed the "quickstart" guideline, in the GitHub site:
git clone git://github.com/hibernate/hibernate-orm.git
cd hibernate-orm
./gradlew clean build
The build requires a Java 8 JDK as JAVA_HOME, but will ensure Java 6 compatibility.
However, I got the following error:
FAILURE: Build failed with an exception.
- Where:
Build file '/Users/salee/git/hibernate-orm/build.gradle' line: 291
- What went wrong:
A problem occurred configuring project ':hibernate-c3p0'.
A problem occurred configuring project ':hibernate-core'.
Cannot get property 'absolutePath' on null object
Would anyone help me?
This sounds like a broken build. In which case, your best option may be to raise an issue in Hibernate's GitHub project and attach the output of
./gradlew --stacktrace clean build
Alternatively, pull the latest code and try again. It seems unlikely that the build will stay broken for long and it may already have been fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With