4.3api添加自己发布的服务出现错误。

url:"https://localhost:6443/arcgis/ ... ot%3B服务成功发布,也已经启用,地图无法显示。但是用官方例子上的地址url:"https://sampleserver6.arcgison ... ot%3B是正常显示的。
错误:[] #load() Failed to load layer (title: 'undefined', id: 'undefined') Error: Error handling service request :0x80040154 - Class not registered
已邀请:

goldenlimit - Major in MIS and minor in GIS, graduated from University of Alabama. GIS is not a simply tool but a way of exploring the unknow

赞同来自:

点开你网页的developer tool, 然后看看你的network request 返回的是什么?这个错误感觉像是你的map server连接不到,跟code没什么关系,因为你测试sampleserver6的好用。建议你用下你电脑的domain而不是localhost

要回复问题请先登录注册