I converted the Maven project to Gradle with help gradle init, after which gradle installit runs successfully on the console. However, after importing the Eclipse Gradle, I get an error:
Archive for required library: '[...].gradle/caches/modules-2/files-2.1/org.apache.jena/apache-jena-libs/2.12.0/[some hash value]/apache-jena-libs-2.12.0.pom' in project 'myproject' cannot be read or is not a valid ZIP file.
What puzzles me now is that this file is not a ZIP (or JAR) file, but a .pom file. Why is he trying to open POM as ZIP and how can I fix it?
I am using Gradle 2.3 with Gradle IDE 3.6.3 on Eclipse 4.4 Luna on Arch Linux.
source
share