4 Replies Latest reply on Jan 27, 2014 4:41 AM by Karel Piwko

    Issue with incompatible versions of org.jboss.logging.Logger

    Vojtech Juranek Newbie

      Hi,

      I'm trying to run Arquillian tests for Infinispan on EAP 5. While Infinispan depends on recent version of JBoss logging (org.jboss.logging:jboss-logging:3.1.2), Arquillian EAP5 container depends on old version (org.jboss.logging:jboss-logging-spi:2.1.0). These two packages are incompatible. Some issues can be solved by custom classloader, however using org.jboss.logging.Logger, which is defined in both packages, results into NoSuchMethodError (either when starting jboss client or when staring infinispan tests). Is there any way how to avoid this issue? (OSGi would probably solve the issue, but if I'm not mistaken, I would have to do substantial changes in Arquillian core)

      Thanks

      Vojta