I was having this error on both Tomcat and the jetty Server.
I was having trouble including the css and javaScript files into my index.html ( I had them all placed together inside the webapps/myWebAppName/ directory).
Ignore the temp folder !!
This worked fine when I opened the index.html directly in the browser. i.e. the css and js worked fine.
But when I placed the css and js files in a separate directory and then included them in the index.html file, everything worked fine even for the Tomcat & Jetty server case.
Does anyone have any idea what causes this bug?
Does anyone else ever faced this?