worklight ios中报这样的错uncaught referenceerror:wl is no

IBM Connections
IBM Worklight 5.0 development [read only]
to participate
by giovanni.vigorelli@
ACCEPTED ANSWER
Pinned topic
WL 505 - dojo.js 404 not found
Answered question
This question has been answered.
I've create a sample project with dojo framework.
Adding just some HTML objects (couple of views and a list) using the dojo palette, when I deploy and test the app, the browser gets a white page in the browser js console I got following errors:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/apps/services/preview/test/common/0/default/dojo/dojo.js
wlclient init started worklight.js:1097
before: app init onSuccess worklight.js:1097
Uncaught ReferenceError: require is not defined test.js:14
wlCommonInit test.js:14
wlInit wlclient.js:1030
finalizeInit wlclient.js:243
init wlclient.js:1187
(anonymous function) initOptions.js:36
I created a brand new project and without any coding, deploying and testing (preview from the WL console embedded in the Studio), I have the same errors in the js console (but the app name is rendered in the browser).
Any idea about this problem?
Cheers, Giovanni在firefox 中报错:ReferenceError: hosting_popup is not defined_百度知道
在firefox 中报错:ReferenceError: hosting_popup is not defined
jsp页面中有个方法,但是在firefox中就会报错,hosting_popup(href,obj),在ie8中可以正常使用, hosting_popup is not defined,ReferenceError,
  如果对我们的回答存在任何疑问,  您好,故而报此异,欢迎继续问询。,很高兴为您答疑。  这是一个jQuery中的引用错误,多出现在您所引用的jQuery插件出现对象未定义的情况。建议您检查一下您代码的同步异步情况,是否在对象hosting_popup尚未生成的时候就在针对其进行事件绑定亦或别的操作,
已回答21366
响应时间&19小时
其他类似问题
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 worklight ios 的文章

 

随机推荐