Refused to apply style from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled | Community
Skip to main content
Level 2
September 21, 2021
Solved

Refused to apply style from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled

  • September 21, 2021
  • 1 reply
  • 8379 views

Hi,

 

I am unable to use AEM instance. After every restart the issue is same. Kindly help me with the inputs.

 

Console errors are :

1. Refused to apply style from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

 

2. Uncaught ReferenceError: jQuery is not defined.

 

 

I am using MacBook Air M1 Model. I have given Read & Write permissions to all sub folders also. Attaching screenshots for the reference.

 

 

Error.log :

 

Caused by: java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record 052c1495f13ee773d0a3663a046ef4fa16753850b57742086a428b00dab17aa9 does not exist
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:608) [org.apache.jackrabbit.oak-blob-plugins:1.10.2]
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore$2.call(DataStoreBlobStore.java:340) [org.apache.jackrabbit.oak-blob-plugins:1.10.2]
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore$2.call(DataStoreBlobStore.java:336) [org.apache.jackrabbit.oak-blob-plugins:1.10.2]
	at org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.load(CacheLIRS.java:1013)
	... 147 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Record 052c1495f13ee773d0a3663a046ef4fa16753850b57742086a428b00dab17aa9 does not exist
	at org.apache.jackrabbit.core.data.AbstractDataStore.getRecord(AbstractDataStore.java:59) [org.apache.jackrabbit.jackrabbit-data:2.18.0]
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getDataRecord(DataStoreBlobStore.java:617) [org.apache.jackrabbit.oak-blob-plugins:1.10.2]
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:602) [org.apache.jackrabbit.oak-blob-plugins:1.10.2]
	... 150 common frames omitted
21.09.2021 09:06:22.726 *ERROR* [0:0:0:0:0:0:0:1 [1632195382717] GET /libs/granite/ui/components/shell/clientlibs/shell.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Error during assembly of library.
java.lang.RuntimeException: Error occurred while obtaining InputStream for blobId [052c1495f13ee773d0a3663a046ef4fa16753850b57742086a428b00dab17aa9#47703]
	at org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob.getNewStream(BlobStoreBlob.java:48) [org.apache.jackrabbit.oak-blob-plugins:1.10.2
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asutosh_Jena_

Hi @saiteja120 

 

Please see the link below for resolution.

https://stackoverflow.com/questions/48248832/stylesheet-not-loaded-because-of-mime-type

 

Thanks!

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
September 21, 2021
Level 2
September 22, 2021

Hi @asutosh_jena_ ,

 

Unable to find the exact fix for this. Can you please help me with the node level inputs like which node level we need to fix this.

 

Mine is fresh instance and no other deployments happened.