Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14720

Quickstarts: Spring functional tests throw IllegalAccessError

XMLWordPrintable

      Running functional tests [1] of spring-* quickstarts leads to an error:

      [ERROR] org.jboss.as.quickstarts.greeter.greeter_spring.test.GreeterSpringTest  Time elapsed: 1.074 s  <<< ERROR!
      java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.<init>(Ljava/util/concurrent/ExecutorService;)V from class org.openqa.selenium.net.UrlChecker
      

      Seems like there is incompatibility between Selenium (used by Arquillian Drone) GeckoDriver, Google Guava library or whatever [2].

      Tests have been run with geckodriver-v0.26.0-linux64 version and firefox-60.0.2esr. I also tried to use the latest Selenium, Guava libraries - but no success.

      [1] - https://github.com/wildfly/quickstart/tree/master/spring-greeter/functional-tests
      [2] - https://stackoverflow.com/questions/48451021/java-lang-illegalaccesserror-tried-to-access-method-com-google-common-util-conc

            emartins@redhat.com Eduardo Martins
            emartins@redhat.com Eduardo Martins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: