How to contribute using Eclipse?

The contributing guide links to the following document which says one should to

./gradlew clean eclipse --refresh-dependencies

However this fails with

$ ./gradlew clean eclipse --refresh-dependencies

FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘eclipse’ not found in root project ‘hibernate-orm’.

  • Try:
    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.

1 Like

Please open a Jira issue and link it to the documentation component. Thanks.


If I’m understanding this correctly, the problem is that the documentation refers to the eclipse task which has been removed, not that the eclipse task should be put back.

Is there some documentation on why eclipse support was removed? I just finished a tutorial about working with hibernate-spatial in eclipse.

You can simply import the project from Gradle in any IDE. Why would you need the eclipse task anyway?

Yes, the problem is that the document way of importing into Eclipse doesn’t work.

There’s a discussion on the Pull Request related to enabling the Eclipse plugin.

When I import the Gradle project into Eclipse I get over 700 errors across numerous components for reasons that are not obvious.

With the previous ‘eclipse’ task, it would define the classpaths and I could import and work on just the hibernate-spatial component.

Importing the Gradle project into Intellij IDEA works smoothly. Isn’t Eclipse still widely used?

I remember seeing a survey and InteliJ IDEA surpassed Eclipse in recent years. Nevertheless, there are millions of users using Eclipse and it’s weird that the Gradle integration is not working properly.

At Hibernate, I think we all use IDEA. I quit using Eclipse in 2005 and never looked back.