Hi Joshua,

On 08/07/14 19:40, Joshua Dunham wrote:
This latest did not solve MARMOTTA-499. Browser (Firefox 32.0a2 (2014-06-30)) 
error is

The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/javadoc.css was not loaded 
because its MIME type, "application/x-pointplus", is not "text/css". 
proxy.js:300
The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/style.css was not loaded 
because its MIME type, "application/x-pointplus", is not "text/css". 
proxy.js:300
The stylesheet http://----------.vrtx.com:8080/user/admin/style/style.css was not loaded 
because its MIME type, "application/x-pointplus", is not "text/css”. 
proxy.js:300

CSS is also not rendered in Safari 7.0.4 (9537.76.4) but there is no error 
message.

Chrome says similar,

Really?!? That's awkward...

Please, pull code from MARMOTTA-499 branch (HEAD is 48d398add62f3ce6e8bba895b2c622351a108a20), where I've just added some testing:

$ cd platform/marmotta-core
$ mvn clean install -DskipTests
$ mvn test -Dtest=MarmottaResourceServiceTest#testMARMOTTA499

If the test successfully passes, then, to avoid browser caching issues with static resources, I'd repeat the process running Marmotta in a different port:

$ cd launchers/marmotta-webapp
$ mvn tomcat7:run -Dmarmotta.port=8081

Then check if CSS files are correctly render in your browsers. Even better, try to see the raw content type:

$ curl -I http://localhost:8081/core/public/style/blue/style.css
HTTP/1.1 200 OK
Server: Apache Marmotta/3.3.0-SNAPSHOT (build 2+)
Expires: Wed, 09 Jul 2014 07:30:37 GMT
Content-Type: text/css
Content-Length: 6118
Date: Wed, 09 Jul 2014 06:30:37 GMT

Let's see...

--
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernan...@salzburgresearch.at
http://www.salzburgresearch.at

Reply via email to