VerifyError running testbench: Illegal use of nonvirtual function call

I get this error when running from the command line but not from IDEA.
I suspect a classpath issue:

com.mrv.provision.pv3.uitests.smarttables.PvViewsNotAvailableUITest > classMethod FAILED
    java.lang.VerifyError: (class: com/vaadin/testbench/TestBenchDriverProxy_$$_javassist_0, method: _d70setReferenceNameGenerator signature: (Ljava/util/function/BiFunction;)V) Illegal use of nonvirtual function call
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
        at java.lang.Class.getField0(Class.java:2975)
        at java.lang.Class.getField(Class.java:1701)
        at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:517)
        at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:502)
        at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:486)
        at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:422)
        at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:394)
        at javassist.util.proxy.ProxyFactory.create(ProxyFactory.java:649)
        at javassist.util.proxy.ProxyFactory.create(ProxyFactory.java:634)
        at com.vaadin.testbench.TestBench.createDriver(TestBench.java:102)
        at com.mrv.test.util.tools.UIClientTester.createDriver(UIClientTester.java:224)
        at com.mrv.test.util.tools.UIClientTester.classSetUp(UIClientTester.java:182)
        at com.mrv.test.util.tools.UIClientTester.classSetUp(UIClientTester.java:160)
        at com.mrv.provision.pv3.uitests.smarttables.PvViewsNotAvailableUITest.beforeClass(PvViewsNotAvailableUITest.java:61)