"Fail to load /mapviewer/fsmc/jslib/oraclemaps.js"

BIEE中mapviewer在生成地图时弹框报“Fail to load /mapviewer/fsmc/jslib/oraclemaps.js”,只有在第二次点击才能正常生成,解决办法:

原始地址: https://forums.oracle.com/forums/thread.jspa?threadID=2232400

在D:\BIEE\Oracle_BI1\bifoundation\jee\mapviewer.ear\web.war\WEB-INF\web.xml文件中加入如下代码:
<web-app>
.....
<mime-mapping>
    <extension>js</extension>
    <mime-type>application/x-javascript</mime-type>
</mime-mapping>
......
</web-app>

你可能感兴趣的:(MapView)