Wherever your WebAppHelloWorld.jar file is located, there also must be a www directory with the three files (b4j_ws.js, index.css and index.html) inside of it. Without the www directory, you'll get the above error and without the 3 files, the example will not run as expected. In the example .zip file, the www folder is located under the Objects folder.