arcgis for js 4.9 调用WMS出现 No 'Access-Control-Allow-Origin' 和Failed to load layer

Failed to load http://localhost:6080/arcgis/s ... ties: No 'Access-Control-Allow-Origin' header is present on the requested resource.

[esri.layers.WMSLayer] #load() Failed to load layer (title: 'Layer', id: '166f22bf542-layer-0')

出现上述两个问题始终没解决,请教各位了谢谢。
代理页面已设置:esriConfig.request.proxyUrl= "http://localhost:6080/Java/proxy.jsp";
已邀请:

wonderyun

赞同来自:

web代理已经设置好了,还出现这个问题

王伟 - 90后 GISer

赞同来自:

楼主解决这个问题了吗?怎么处理的呢?

要回复问题请先登录注册