Worklight core-web-layer.js errors

后端 未结 1 1257
一生所求
一生所求 2020-11-30 15:57

Can someone help me? When I run my Worklight project on Chrome, Firefox or Opera I don\'t get any errors. But when I run it on IE I get these errors:

    Err         


        
相关标签:
1条回答
  • 2020-11-30 16:27

    Is your core-web-layer.js the one that was created during project creation?

    For your issue with running on Android, if you're using Worklight 6.0 with a new project, copy the following files from the Dojo Library project that was created alongside the Worklight project:

    toolkit/dojo/dojo/nls/core-web-layer_ROOT.js
    toolkit/dojo/dojo/nls/mobile-ui-layer_ROOT.js
    

    These files then must be added to your Worklight project's www/dojo/nls/ directory.

    In addition to including the *_ROOT.js files, you may also need to remove the development configuration from the application. To do this, open the Console view (Window > Show View > Other... > Console). From the Console view, click the Open Console button and choose Dojo Library Requests from the list. From the Dojo Library Requests console, click the View Menu (the triangle in the toolbar), and uncheck Provide Library Resources. After this, build and deploy your application to your emulator or device.

    0 讨论(0)
提交回复
热议问题