mavenplayframework-2.0geotoolsjaimaven-central

I get an error downloading javax.media.jai_core:1.1.3 from maven central


I get an error downloading javax.media.jai_core:1.1.3 from maven central.

The error is:

download failed: javax.media#jai_core;1.1.3!jai_core.jar

using play compiler.


Solution

  • The problem at this moment is that maven-central doesn't have the .jar, which is a dependency from geotoolkit

    Sample of maven repo content

    If you need it, you could use the next public repositories:

    https://maven.geotoolkit.org (jai-core is here)

    https://repo.osgeo.org/repository/release/

    Make sure geotoolkit-repo is before Maven Central, so that it resolves before Central which misses the jar.