.model.json throwing internal server error | Community
Skip to main content
New Participant
Jul 2, 2021 9:15 AM UTC
Solved

.model.json throwing internal server error

Can someone advice why I am getting this below error while calling .mode.json of a component. 

Could not get exporter jackson requested by model.
org.apache.sling.models.factory.MissingExporterException: No exporter named jackson supports java.lang.String.
at org.apache.sling.models.impl.ModelAdapterFactory.exportModel(ModelAdapterFactory.java:1317) [org.apache.sling.models.impl:1.4.16]
at org.apache.sling.models.impl.ExportServlet$ResourceAccessor.getExportedString(ExportServlet.java:188) [org.apache.sling.models.impl:1.4.16]
at org.apache.sling.models.impl.ExportServlet.doGet(ExportServlet.java:106) [org.apache.sling.models.impl:1.4.16]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266) [org.apache.sling.api:2.22.0]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.22.0]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.22.0]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
GnanendraPonnala
GnanendraPonnalaAccepted solution
Level 2
Jul 2, 2021 10:00 AM UTC

Hi @animah80397281 ,

please check below link, to get some info on the chances why you're getting this error,

Sling model exporters thrown MissingExporterExcept... - Adobe Experience League Community - 389716

 

Eg: Any dependencies were not resolved

 

3 replies

GnanendraPonnala
GnanendraPonnalaAccepted solution
Level 2
Jul 2, 2021 10:00 AM UTC

Hi @animah80397281 ,

please check below link, to get some info on the chances why you're getting this error,

Sling model exporters thrown MissingExporterExcept... - Adobe Experience League Community - 389716

 

Eg: Any dependencies were not resolved

 

Translate
New Participant
Jul 2, 2021 11:43 AM UTC
It worked after instance restart.
Translate
Dipti_Chauhan
New Participant
Jul 2, 2021 9:37 AM UTC