I'm trying to cache a JAX-RS Response using
@Path("/somepath")
@POST
@CacheResult(cacheName = "customerSTBData", cacheKeyGenerator
= CustStbDtoKeyGenerator.class)
public Response getCustomerSTBData(final CustStbDto custStbDto)
And I'm getting:
Caused by: com.hazelcast.nio.serialization.HazelcastSerializationException:
There is no suitable serializer for class
org.apache.cxf.jaxrs.impl.ResponseImpl
This is usually caused by not having a default constructor which Response
doesn't:
protected Response() {
}
Is there a simple solution to this?
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/JCache-with-javax-ws-rs-core-Response-tp4677129.html
Sent from the TomEE Users mailing list archive at Nabble.com.