When I try to init cachemanager with this
final DefaultCacheManager defaultCacheManager = new DefaultCacheManager();
I receive this error:
'java.lang.ClassNotFoundException' exception.
As Infinispan core is shipped with JBOSS EAP 7.2, how I can load this library on container startup ?
Well, as reported here and and here , it looks that Infinispan can be only internally used by container unless adding libraries in own web application or by connection in Client Server mode.
See also this article