首页 / 浏览问题 / 组件GIS / 问题详情
iobjectsjava11i 在线许可错误代码41
23EXP 2023年12月11日
使用的supermap-iobjectsjava-11.0.1-21420-98023-win-all版本,按照示例调用报错code为41,java.lang.IllegalStateException: connect types is: 20008 , 20007 , 20065 , 20066 , 20070 , 20071 , 65400 , 65401 , 65402 , 65403 , 65404 , 65405 , 65406 , 65407 , 65408 , 65409 , 65410 , 65411 , 65412 , hasp_feature_not_found

在同一电脑上使用相同的账号登录supermap-idesktopx-11.0.0-0719-32-95750-win64-bin-zip-chs则没有问题

1个回答

您好,那边去该地址管理https://www.supermapol.com/console/license/triallicense
Online站点--控制台--许可管理--试用许可,新增查询在线试用许可当前绑定机器的信息查询,同时提供了强制退出,退出设备许可,再用组件登录查看是否正常呢

3,420EXP 2023年12月11日
不行,代码在CloudLicense.login(username, password);时就报错了

SuperMap许可验证失败:create https connect error...
cloud license error occurred: java.net.MalformedURLException
    at java.base/java.net.URL.<init>(URL.java:679)
    at java.base/java.net.URL.<init>(URL.java:541)
    at java.base/java.net.URL.<init>(URL.java:488)
    at com.supermap.data.cloudlicense.HttpUtils.createHttpsConnction(SourceFile:19)
    at com.supermap.data.CloudLicense.g(SourceFile:254)
    at com.supermap.data.CloudLicense.c(SourceFile:211)
    at com.supermap.data.CloudLicense.b(SourceFile:205)
    at com.supermap.data.CloudLicense.login(SourceFile:140)

SuperMap许可验证失败:java.net.MalformedURLException
    at java.base/java.net.URL.<init>(URL.java:679)
    at java.base/java.net.URL.<init>(URL.java:541)
    at java.base/java.net.URL.<init>(URL.java:488)
    at com.supermap.data.cloudlicense.HttpUtils.createHttpsConnction(SourceFile:19)
    at com.supermap.data.CloudLicense.g(SourceFile:254)
    at com.supermap.data.CloudLicense.c(SourceFile:211)
    at com.supermap.data.CloudLicense.b(SourceFile:205)
    at com.supermap.data.CloudLicense.login(SourceFile:140)

之后就报code 41
今天变成了报code 7 ,new Workspace()时报java.lang.IllegalStateException: connect types is: 20002 , 20075 , 20001 , 20074 , 20065 , 20066 , 20070 , 20071 , 65400 , 65401 , 65402 , 65403 , 65404 , 65405 , 65406 , 65407 , 65408 , 65409 , 65410 , 65411 , 65412 , hasp_container_not_found
CloudLicense.login(username, password)时出错:

SuperMap许可验证失败:create https connect error...,这个错误是超图账号名称为中文出现的问题;

改为英文后报SuperMap许可验证失败:Get trial license context failed...,应该如何解决,账号能登录idesktopx11i正常使用

“Get trial license context faile”那边看下这个网址https://www.supermapol.com/console/license/triallicense,是不是有在线试用许可呢

...