


Hi all,
After upgraded (in-place upgrade) from AEM 6.4.8 to AEM 6.5.6 our custom sling model exporters throw MissingExporterException when invoked with "model" selector.
org.apache.sling.models.impl.ExportServlet.com.myproject.aem.core.models.mobile.LanguageModel 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:1348) [org.apache.sling.models.impl:1.4.10] at org.apache.sling.models.impl.ExportServlet$ResourceAccessor.getExportedString(ExportServlet.java:188) [org.apache.sling.models.impl:1.4.10]
All our custom exporters are using exporter "jackson" and extension "json"
We have around 40 exporters in the project.
All bundles required by this implementation are active
The link to access Sling Models (/system/console/status-slingmodels) is missing from the system console
My questions are:
Thank you,
Beatrice
Views
Replies
Sign in to like this content
Total Likes
Hi all,
Update on this topic.
The issue was due to a dependency to jaxb-impl in our project, that somehow prevents the Sling Models from properly been initialized.
The issue was not systematically reproducible.
The build was always successful and the bundle was in active status all the times.
I've replaced it with jaxb-core and this seems to have solved it.
Views
Replies
Sign in to like this content
Total Likes