Why can't I resolve the dependencies for GeoTools maven quickstart?

后端 未结 5 1640
孤城傲影
孤城傲影 2020-12-18 18:00

POM is



        
5条回答
  •  盖世英雄少女心
    2020-12-18 18:53

    The issue occurs because the org.geotools:gt-shapefile:jar:10-SNAPSHOT does not exist at either http://download.java.net/maven/2 or http://download.osgeo.org/webdav/geotools. All you have to do is define the snapshot repository for the GeoTools as it is mentioned at the GeoTools:Maven Quick Start as the following: -

    
        
            maven2-repository.dev.java.net
            Java.net repository
            http://download.java.net/maven/2
        
        
            osgeo
            Open Source Geospatial Foundation Repository
            http://download.osgeo.org/webdav/geotools/
        
         
            
                true
            
            opengeo
            OpenGeo Maven Repository
            http://repo.opengeo.org
        
    
    

    I hope this may help.

提交回复
热议问题