During migration of quickstarts to uber-jars, I ran into this usability issue. See: https://github.com/jboss-developer/jboss-jdg-quickstarts/pull/114 The thing is that (e.g. in helloworld-jdg quickstart), there is absolutely no need for javax.cache.cache-api. However, if this dependency is not present, the deployment will fail with java.lang.ClassNotFoundException: javax.cache.annotation.CacheResult The workaround is simple - add the dependency and everything works fine. However, it's a little strange to add dependency that is not needed at all.
All quickstarts now (ER4) work correctly without the cache-api dependency.
This issues was probably not fully fixed as appeared during verification of https://bugzilla.redhat.com/show_bug.cgi?id=1292720 This problem was fixed for infinispan-embedded but there's still a problem with infinispan-remote which requires cache-api dependency in order to be deployed to EAP. Looks like the carmart quickstart in its "remote" profile was blocked by a different issue in ER4 and it did not help reveal this bug during ER4 testing :( I have to re-open it now.
All of the following tests passed: * all quickstarts, including the remote profile of carmart quickstart * func. tests for HotRod client in EAP and OSGi * func. tests for embedded cache in OSGi * func. tests for CDI extension in both embedded and remote mode Marking this BZ as verified.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.