You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
java.lang.NoClassDefFoundError: javax/websocket/DeploymentException in 6.0.0 #911
java.lang.NoClassDefFoundError: javax/websocket/DeploymentException
at io.appium.java_client.android.ListensToLogcatMessages.(ListensToLogcatMessages.java:34)
I have the same problem (using Java8).
It works fine with Appium Java Client 6.0.0 Beta 4 and Selenium 3.11
I tried Appium Java Client 6.0.0 Beta 5/6.0.0, and Selenium 3.12 they all failed with the same error.
Activity
mykola-mokhnach commentedon May 25, 2018
Can you please properly describe the problem?
In case you try to setup web socket-based logcat listener then it is necessary to include the following libs into your POM:
317174106 commentedon May 25, 2018
i just update appium java client from 6.0.0 beta4 to 6.0.0, and selenium 3.11 to 3.12, then the problem shows.
after i change back, it works for me......
mykola-mokhnach commentedon May 25, 2018
we cannot help much without the detailed problem description
317174106 commentedon May 25, 2018
same problem like this:
https://stackoverflow.com/questions/50293463/appium-test-case-throws-exception
mykola-mokhnach commentedon May 25, 2018
#912 should improve the flow
mykola-mokhnach commentedon May 25, 2018
I also think that java9 might have something to do with that...
317174106 commentedon May 25, 2018
any way can fix this now? degrade?
mykola-mokhnach commentedon May 25, 2018
yep one way is to downgrade to java8
you could also try to include the necessary JSR libs to you build config yourself, but I cannot help much here.
317174106 commentedon May 28, 2018
ok thanks, by the way, will this be fixed in next version?
317174106 commentedon May 28, 2018
and actually, i am using java8, just project is not using pom
tooldoctor commentedon Jun 13, 2018
I have the same problem (using Java8).
It works fine with Appium Java Client 6.0.0 Beta 4 and Selenium 3.11
I tried Appium Java Client 6.0.0 Beta 5/6.0.0, and Selenium 3.12 they all failed with the same error.