eclipsegradlebuildship

Gradle Eclipse getting compile issues


In my build.gradle file I have a dependency that is wrong

compile('org.springframework.boot:spring-boot-starter234')

When I do

gradle build

I get:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.springframework.boot:spring-boot-starter234:.
  Required by:
      project :

However in Eclipse when I run the task, I don't get a clear message. I just get: enter image description here

Note: I have Refresh the Gradle Project and get the same message


Solution

  • You can right-click on the failed task (or ctrl-click on the Mac) and choose "Show Failures".

    Or you can click on the little console icon (in the upper right corner of your screenshot) with the tooltip "Navigate to Console for this Execution"