java application_运行java application时,总是报错
运行java application时,总是报以下错误
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{appPackage=com.zhihu.android, appActivity=.app.ui.activity.MainActivity, platforName=Android, platformVersion=7.0, automationName=Appium, resertKeyboard=true, unicodeKeyboard=true, deviceName=lge-nexus_4-005475cbccd279d4}], required capabilities = Capabilities [{}]
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System info: host: 'DESKTOP-L4A6UVL', ip: '10.33.96.88', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: AppiumDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:141)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:89)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:113)
at com.appium.test.AppTest.main(AppTest.java:27)
java application_运行java application时,总是报错相关推荐
- 运行python脚本时,报错InsecurePlatformWarning: A true SSLContext object is not available,解决方法
运行python脚本时,报错InsecurePlatformWarning: A true SSLContext object is not available,解决方法 参考文章: (1)运行pyt ...
- 运行rqt tf时的报错:ParserError: while parsing a block mapping
关于使用rqt_tf_tree时的报错 ParserError: while parsing a block mapping 问题描述 建立好urdf之后,使用launch文件打开Gazebo,发现模 ...
- 在线Java 动态运行Java源代码-执行器
当我们通过类加载器获得Class后,就可以通过常用反射手段,调用类方法了. 反射调用方法的要素:Class类,方法名,方法参数,方法返回值. Class类:已经通过前面的类加载器获取到了: 方法名:需 ...
- 记一次Java代码不执行,也不报错!求大佬赐教!
记一次Java代码不执行,也不报错!求大佬赐教! 发生背景 问题所在 发生背景 实训在做串口通讯的时候,进行数据处理时,代码执行一部分,有一部分没有执行. 十分纳闷,代码如下: /*** 处理返回结果 ...
- 在线Java 动态运行Java源代码-处理器
处理器主要的作用是串起编译器.类加载器.执行器,对外提供统一的方法调用实现动态运行Java源代码的整个流程,以及暂存或缓存已编译加载好的Class类优化整个流程执行效率. 因字节码对边界系统来说用处不 ...
- 在线Java 动态运行Java源代码
在线执行动态的Java代码,或者运行时动态编译加载java源码实现例如动态策略.动态配置等业务.我们大致就需要有以下流程: #mermaid-svg-aIJVYE5t6EFpeK0L {font-fa ...
- 在线Java 动态运行Java源代码-编译器
1.获取JDK编译器主要有两种方式(当然大神也可以有三种,自己写编译器): 如果运行的环境System.getProperty("java.home")中配置了JDK,则直接通过T ...
- %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core %会报错
有些时候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>会报错,错 ...
- java 关闭 tomcat,每次关闭TOMCAT就报错 不知道什么?该如何处理
当前位置:我的异常网» Java Web开发 » 每次关闭TOMCAT就报错 不知道什么?该如何处理 每次关闭TOMCAT就报错 不知道什么?该如何处理 www.myexceptions.net 网 ...
最新文章
- 根据 sitemap 的规则[0],当前页面 [pages/index/index] 将被索引
- wxWidgets:wxValidator概述
- 音视频技术开发周刊 | 170
- 阮一峰react demo代码研究的学习笔记 - demo8 debug - click triggers state change
- 反编译查看源码dex2jar
- 信息学奥赛一本通 1324:【例6.6】整数区间
- 华为手机连电脑_移动办公利器华为MatePad Pro:能写会画有键盘,能当电脑连手机...
- 让无线网卡同时工作在 AP 和 STA 模式
- 逛知乎才知网站建设不只有wordpress建站系统,小白值得收藏
- linux虚拟机网卡无法启动
- 20155238 2016-2017-2 《Java程序设计》第六周学习总结
- 手把手教你升级到MySQL 8.0
- 自定义图标——阿里图标库
- Microsoft Teams 创建Outlook邮件组的Team
- 中国象棋棋盘java_中国象棋棋子及棋盘的绘制
- 约分最简分式 (15 分)
- 移动手机消息推送机制
- java高并发之魂:Synchronize
- python经纬度 县信息_10分钟教你用Python获取百度地图各点的经纬度信息
- 工业和信息化部教育与考试中心职业技术证书