简体   繁体   English

Java 用 gradle 导入地质工具

[英]Java import geotools with gradle

I woudlike to import geotools to my project but I have alwyas same error:我想将 geotools 导入我的项目,但我总是遇到同样的错误:

Could not find org.geotools:24.1

build.gradle: build.gradle:

geotools_version = '24.1'

dependencies {
    testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_version}"
    testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_version}"

    implementation "org.geotools:${geotools_version}"
}

Dependecies are defined by groupId, artifactId and version.依赖项由 groupId、artifactId 和 version 定义。 You only referenced groupId and version.您只引用了 groupId 和版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM