首页 / 浏览问题 / 组件GIS / 问题详情
截图,加载时。
6EXP 2017年09月22日
Uncaught DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
    at d.c.open (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:3:1), <anonymous>:1:29075)
    at Object.issue (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:3:1), <anonymous>:1:25872)
    at Object.GET (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:3:1), <anonymous>:1:27069)
    at Object.SuperMap.Util.committer (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:1:1), <anonymous>:1:24173)
    at initialize.request (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:3:1), <anonymous>:1:509122)
    at initialize.processAsync (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:3:1), <anonymous>:1:526849)
    at new initialize (eval at <anonymous> (http://127.0.0.1:8080/jfinalDemo1/JavaScript/front/SuperMap/libs/SuperMap-8.1.1-14426.js:3:1), <anonymous>:1:131581)
    at init (http://127.0.0.1:8080/jfinalDemo1/hello:53:9)
    at onload (http://127.0.0.1:8080/jfinalDemo1/hello:161:23)

1个回答

您好,请问您是将您的web工程放在了iserver的webapp下了吗?如果是放在iserver的webapp下的话您这里的端口应该是8090,还有在此位置需要您从新启动iserver才可以正常预览到
1,695EXP 2017年09月22日
可我其他的是正常启动,就是想实现 超图的示例范围 的截图功能。 发现这个错误
...