其他分享
首页 > 其他分享> > geotools相关依赖无法获取

geotools相关依赖无法获取

作者:互联网

状况描述:

POM中添加geotools依赖失败,使用各种仓库镜像(包括网上找到的使用阿里仓库镜像的解决办法),仍然无法解决问题。
即使从其它地方拉去相应jar包,Maven-Dependencies处仍然报红色波浪线

解决步骤:

<repositories>
		<repository>
			<id>osgeo</id>
			<name>OSGeo Release Repository</name>
			<url>https://repo.osgeo.org/repository/release/</url>
			<snapshots><enabled>false</enabled></snapshots>
			<releases><enabled>true</enabled></releases>
		</repository>
		<repository>
			<id>osgeo-snapshot</id>
			<name>OSGeo Snapshot Repository</name>
			<url>https://repo.osgeo.org/repository/snapshot/</url>
			<snapshots><enabled>true</enabled></snapshots>
			<releases><enabled>false</enabled></releases>
		</repository>
	</repositories>

标签:xml,依赖,geotools,Repository,仓库,获取,镜像,osgeo
来源: https://blog.csdn.net/weixin_42484045/article/details/110920772