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
(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?
This topic has been locked.
2 replies Latest Post - 2013-01-17T21:53:44Z by firstname.lastname@example.org
Pinned topic WL 505 - dojo.js 404 not found
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
raanan 270005J1Y450 PostsACCEPTED ANSWER
Re: WL 505 - dojo.js 404 not found2013-01-17T14:43:31Z in response to email@example.comHi Giovanni.
Can you please check that you have the folder dojo created under the project folder and in your HTML file there is the line:
firstname.lastname@example.org 120000F32F8 PostsACCEPTED ANSWER
Re: WL 505 - dojo.js 404 not found2013-01-17T21:53:44Z in response to raananHi Raana,
thanks for your suggestion, but after a day I give up with troubleshooting and I tried to reinstall Eclipse and WL Studio. This solved the problem.