Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Error:Cause: org.gradle.internal.component.external.model.DefaultModuleComponentSelector

I added maven url to my gradle:

repositories {

    mavenCentral()
    maven{
        url "https://oss.sonatype.org/content/repositories/snapshots/"
    }
}

and library to spring boot app and I got:

Error:Cause: org.gradle.internal.component.external.model.DefaultModuleComponentSelector

and library:

compile 'com.github.jonaslins:fiware-orion-library:0.0.1-SNAPSHOT'

I use Intellij 2016

Hot to fix it? I added same lib to Android studio and it works

like image 615
Kamil Nękanowicz Avatar asked Sep 26 '16 13:09

Kamil Nękanowicz


1 Answers

I had the same issue. It turned out that one of the dependencies could not be resolved from mavencentral. I changed the version and then the build succeeded.

like image 191
vargen_ Avatar answered Oct 23 '22 19:10

vargen_