After installing the Model Service from DXA 2.2 (Java) to Tridion Sites 9.5, the service starts successfully.
However when requesting the page using Postman the below stacktrace is seen
{
"timestamp": [
"String",
"2020-09-22T17:21:22.317+0000"
],
"status": 500,
"error": "Internal Server Error",
"exception": "com.sdl.webapp.common.api.content.ContentProviderException",
"message": "Couldn't deserialize DD4T content for request PageRequestDto(publicationId=8, pageId=0, path=/index.html, uriType=tcm, includePages=INCLUDE, contentType=MODEL, dataModelType=R2, expansionDepth=100, depthCounter=DepthCounter(counter=100, unlimited=false))",
"path": "/PageModel/tcm/8/index.html"}
Additional details:
- Page and component templates were built using TBBs from DXA R2 model folder.
- OpenJDK 64-bit 11.0.8+10 is JVM
- Documentation link for DXA 2.2 data model below. Note that 9.5 is not mentioned in the compatibility matrix as DXA 2.2 was released before 9.5
https://docs.sdl.com/784837/746726/sdl-digital-experience-accelerator-2-2/installing-------------dxa-data-model-support
Is DXA 2.2 (Java) compatible with Sites 9.5?