.model.json throwing internal server error

Avatar

Avatar
Level 1
animah80397281
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
animah80397281
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
animah80397281
Level 1

02-07-2021

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]

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 2
GnanendraPonnala
Level 2

Likes

5 likes

Total Posts

14 posts

Correct reply

2 solutions
Top badges earned
Boost 5
Establish
Affirm 1
Boost 3
Boost 1
View profile

Avatar
Boost 5
Level 2
GnanendraPonnala
Level 2

Likes

5 likes

Total Posts

14 posts

Correct reply

2 solutions
Top badges earned
Boost 5
Establish
Affirm 1
Boost 3
Boost 1
View profile
GnanendraPonnala
Level 2

02-07-2021

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

 

Answers (1)

Answers (1)

Avatar

Avatar
Boost 100
Level 6
Dipti_Chauhan
Level 6

Likes

126 likes

Total Posts

144 posts

Correct reply

41 solutions
Top badges earned
Boost 100
Give Back 10
Affirm 25
Boost 50
Boost 25
View profile

Avatar
Boost 100
Level 6
Dipti_Chauhan
Level 6

Likes

126 likes

Total Posts

144 posts

Correct reply

41 solutions
Top badges earned
Boost 100
Give Back 10
Affirm 25
Boost 50
Boost 25
View profile
Dipti_Chauhan
Level 6

02-07-2021

Hi @animah80397281 

 Similar issue addressed here : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sling-model-exporters-thro...

Let me know if this resolve your issue.

Thanks

Dipti