Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Buiding hibernate-orm from the source in GitHub

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?

like image 621
salee Avatar asked Mar 13 '26 20:03

salee


1 Answers

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.

like image 194
Peter Ledbrook Avatar answered Mar 16 '26 09:03

Peter Ledbrook



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!