Hi, I've got problem with 3.3.0. On 3.2.0 everything works well, but after updating to 3.3.0 my test dont want to work. I tried to ask here: http://stackoverflow.com/questions/34312395/appium-java-client-3-3-0-doesnt-want-to-start but noone know.
I've got correct dependencies, I think that capabilities are also good, but if I try to build it, I'm getting this:
[INFO] C:\Users\medek\workspace\AndroidAppiumTests\src\main\java:-1: info: compiling
[INFO] C:\Users\medek\workspace\AndroidAppiumTests\src\main\scala:-1: info: compiling
[INFO] Compiling 52 source files to C:\Users\medek\workspace\AndroidAppiumTests\target\classes at 1450269109670
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[WARNING] warning: Class org.openqa.selenium.remote.http.HttpClient not found - continuing with a stub.
[ERROR] error: Unable to locate class corresponding to inner class entry for Factory in owner org.openqa.selenium.remote.http.HttpClient
[ERROR] error: Unable to locate class corresponding to inner class entry for Builder in owner org.openqa.selenium.remote.service.DriverService
[WARNING] 8 warnings found
[ERROR] two errors found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Dependencies
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.48.2</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.48.2</version>
</dependency>
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>3.3.0</version>
</dependency>
Capabilities
def setupTest: AndroidDriver[AndroidElement] = {
val caps: DesiredCapabilities = new DesiredCapabilities
caps.setCapability(CapabilityType.BROWSER_NAME, "")
caps.setCapability("platformName", Setting.platformName)
caps.setCapability("deviceName", Setting.deviceName)
caps.setCapability("platformVersion", Setting.androidVersion.toString)
caps.setCapability("appActivity", Setting.appActivity)
caps.setCapability("app", Setting.pathToApp)
caps.setCapability("unicodeKeyboard", true)
caps.setCapability("resetKeyboard", false)
caps.setCapability("newCommandTimeout", 600)
new AndroidDriver(new URL(Setting.urlToServer), caps)
}
Did I miss something?