Strange Gradle IntelliJ bug

When I try to import a Gradle project into IntelliJ IDEA, I get the following error:

enter image description here

The IDE log starts as follows:

[1314928] WARN - nal.AbstractExternalSystemTask - (of class java.lang.String) com.intellij.openapi.externalSystem.model.ExternalSystemException: (of class java.lang.String) at org.jetbrains.plugins.gradle.service.project.AbstractProjectImportErrorHandler.createUserFriendlyError(AbstractProjectImportErrorHandler.java:106) at org.jetbrains.plugins.gradle.service.project.BaseProjectImportErrorHandler.getUserFriendlyError(BaseProjectImportErrorHandler.java:153) at org.jetbrains.plugins.gradle.service.project.BaseGradleProjectResolverExtension.getUserFriendlyError(BaseGradleProjectResolverExtension.java:358) 

Version:

  • IntelliJ 13.1.4
  • Gradle 1.12
  • Ubuntu 14.04

Minimal example:

If I try to create a new project, I get:

 Error:Download http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar (of class java.lang.String) 
+6
source share
1 answer

Scenario

  • Error message detected in IntelliJ 13.1.4 on OS X 10.9.4 using Gradle 1.11.
  • Previously, the project worked fine in IntelliJ 13.1.3, but now Gradle import is not possible because IntelliJ 13.1.4.

Resolution

This is allowed by disabling the Scala plugin in accordance with http://youtrack.jetbrains.com/issue/SCL-7405


Further update:

Jetbrains comment that this problem with the Scala plugin is now resolved in the latest version of the plugin that has now been released.

+9
source

Source: https://habr.com/ru/post/973490/


All Articles