Java – strange gradle IntelliJ error
•
Java
When I tried to import the gradle project in IntelliJ idea, the following error occurred:
The beginning of the IDE log is 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)
edition:
> IntelliJ 13.1. 4 > Gradle 1.12 > Ubuntu 14.04
The smallest 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)
Solution
script
>Using gradle 1.11 on OS X 10.9 IntelliJ 13.1 on 4 Error message encountered on 4. > The project was previously in IntelliJ 13.1 3 works well, but now gradle is from IntelliJ 13.1 Import failed since 4
Resolution
This can be done by http://youtrack.jetbrains.com/issue/SCL-7405 Disable the scala plug-in to solve the problem
Further updates:
The JetBrains issue review indicates that this issue with the scala plug-in has now been resolved in the latest plug-in version, which has been released
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码