JavaScript 404s after upgrading to b11

All,

I am upgrading our Cesium includes to the b11 distribution. In doing so, I’m finding that Cesium is looking for JavaScript files in the wrong locations.

I have followed the CHANGES file to accommodate for any breaking changes (such as ImageryProvider instead of TileProvider); I’m still having issues and I can’t understand if it is something I am doing wrong as I didn’t have any problems with b9.

FYI: I updated require-jquery.js to version 2.1.2 and jQuery to 1.8.3.

Here are just a few of the numerous 404s I am getting using Developer Tools in Chrome v23. All in all, there are probably about 100 of these 404s.

GET http://localhost/satk/js/Core/when.js 404 (Not Found)

GET http://localhost/satk/js/Core/measureText.js 404 (Not Found)

GET http://localhost/satk/js/DynamicScene/Math.js 404 (Not Found)

All of these files exist in their proper locations; i.e. Math.js is under /Core/. when.js is under /ThirdParty/, so why is Cesium looking in the wrong locations for these files?

I am requiring all of Cesium, i.e. :

require([‘Cesium’], function ( Cesium ) { “use strict”; …

Any ideas would be great, thanks!

Hi Chris,

Are you using Dojo or RequireJS to require in the modules? What does your configuration look like for that? Your problem looks very much like a off-by-one misconfiguration problem, like the ThirdParty package is mapped to the Core location, and the Core package is mapped to the DynamicScene location.