When I try to import a Gradle project in IntelliJ IDEA, I get the following error:
The IDE log starts out 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)
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)
Scenario
Resolution
This is resolved by disabling the Scala plugin as per http://youtrack.jetbrains.com/issue/SCL-7405
Further update:
The Jetbrains issue commentary suggests that this issue with the Scala plugin is now resolved in the latest plugin version, which has now been released.
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