2017-01-17 2 views
2

wenn ich Follow-up http://akhikhl.github.io/gretty-doc/Getting-started.html,I eine Fehlermeldung anzeigt:gradle + Gretty: nicht jai_core.jar finden konnte

FAILURE: Build failed with an exception.

What went wrong: Could not resolve all files for configuration ':compileClasspath'.

Could not find jai_core.jar (javax.media:jai_core:1.1.3). Searched in the following locations: https://jcenter.bintray.com/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar

gradle-Version ist 3.3, helfen Sie mir bitte, danke.

Antwort

0

Ihr Link funktioniert nicht. Löschen ", l" hilft.

Um Ihr Problem: Ich bin nicht sicher, ob es für Sie arbeitet, gelöst ich das Problem mit jai_core-1.1.3.jar in einem fx Projekt wie folgt aus:

repositories { 
    maven { 
      url "https://repo1.maven.org/maven2" 
      artifactUrls "http://maven.geotoolkit.org" 
    } 
} 

als Ersatz in der build.gradle for:

repositories { 
    jcenter() 
    // enable this to use snapshot versions of Gretty: 
    // maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' } 
    } 

Ich hoffe, es hilft.

Verwandte Themen