首页 / 浏览问题 / 桌面GIS / 问题详情
https://maven.supermap.io/ 找不到依赖
8EXP 2020年08月20日
使用产品:supermap-idesktopx-10.1.0-4509-beta-win64-bin-zip-chs 操作系统:win10 x64
问题详细描述:将desktopx目录下\templates\sps\SampleCode\sps-geocoder导入到eclipse,依赖找不到

pom配置了<repository>
            <id>supermap</id>
            <url>https://maven.supermap.io/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>。

但是找不到下面依赖

<dependency>
            <groupId>com.supermap.sps</groupId>
            <artifactId>sps-core</artifactId>
            <version>1.0</version>
        </dependency>

报错

Missing artifact com.supermap.sps:sps-core:jar:1.0

sps-core-1.0.pom.lastUpdated文件内容:

#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Aug 20 15:24:43 GMT+08:00 2020
@default-supermap-https\://maven.supermap.io/.lastUpdated=1597908282055
https\://maven.aliyun.com/repository/public/.error=
https\://maven.aliyun.com/repository/public/.lastUpdated=1597908283105
https\://maven.supermap.io/.error=Could not transfer artifact com.supermap.sps\:sps-core\:pom\:1.0 from/to supermap (https\://maven.supermap.io)\: Failed to transfer https\://maven.supermap.io/com/supermap/sps/sps-core/1.0/sps-core-1.0.pom. Error code 502, Bad Gateway

1个回答

希望https://maven.supermap.io/加一个检索功能,类似于https://mvnrepository.com/
8EXP 2020年08月20日
...