java.lang.NoClassDefFoundError: org/openqa/selenium/remote/codec/w3c/W3CHttpCommandCodec

后端 未结 3 890
旧时难觅i
旧时难觅i 2021-01-22 02:44

I\'m beginner in this, so be patient :) I try to launch simple test and have a problem caused by: java.lang.ClassNotFoundException: org.openqa.selenium.remote.codec.w3c.W3CHttp

3条回答
  •  不思量自难忘°
    2021-01-22 03:03

    Was facing the same issue, I just updated the selenium java client to 4.0.0-alpha-1 issue got resolved

    my dependecies :

         
            org.testng
            testng
            6.14.3
            compile
        
    
        
            org.seleniumhq.selenium
            selenium-java
            4.0.0-alpha-1
        
    
    
        
            io.appium
            java-client
            7.1.0
        
    
        
            org.apache.maven.plugins
            maven-compiler-plugin
            3.7.0
        
    

提交回复
热议问题