Not able to start the jboss server as it is throwing org.infinispan.commons.marshall.MarshallingException: No marshaller registered for Java type com.example.UserCacheConstants$OpKey exception .
Issue
The jboss server is unable to start as it is throwing org.infinispan.commons.marshall.MarshallingException: No marshaller registered for Java type com.example.UserCacheConstants$OpKey exception .
Error snippet.
ISPN000136: Error executing command PrepareCommand on Cache 'dist', writing keys [/com/example]
[exec] 1063: FND-Bhanu: Jan 31 2022 05:44:31.632 +0000: %IOTFND-3-UNSPECIFIED: %[ch=InvocationContextInterceptor][sev=ERROR][tid=non-blocking-thread--p12-t3][part=1062.2/68]: org.infinispan.persistence.spi.PersistenceException: org.infinispan.commons.marshall.MarshallingException: No marshaller registered for Java type com.example.UserCacheConstants$OpKey
[exec] 1064: FND-Bhanu: Jan 31 2022 05:44:31.632 +0000: %IOTFND-3-UNSPECIFIED: %[ch=InvocationContextInterceptor][sev=ERROR][tid=non-blocking-thread--p12-t3][part=1062.3/68]: at org.infinispan.marshall.persistence.impl.MarshallableEntryImpl.marshall(MarshallableEntryImpl.java:232)
Environment
- Red Hat JBoss Enterprise Application Platform
- 7.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.