eclipse容器路径不能为null

时间:2017-08-23 08:24:43

标签: java eclipse appium

我正在开始开发appium测试。我安装了eclipse,appium和NGTest库以及其他一些东西。 当尝试运行我的测试(设备通过PDANet连接,Appium服务器正在运行)时,我收到有关容器路径的错误。

但我找到了这个文件.classpath:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/cglib-nodep-3.2.4.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/commons-codec-1.10.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/commons-exec-1.3.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/commons-io-2.5.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/commons-lang3-3.5.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/cssparser-0.9.22.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/gson-2.8.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/guava-21.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/htmlunit-2.26.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/htmlunit-core-js-2.26.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/htmlunit-driver-2.26.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/httpclient-4.5.3.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/httpcore-4.4.6.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/httpmime-4.5.3.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/javax.servlet-api-3.1.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/jetty-io-9.4.1.v20170120.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/jetty-util-9.4.1.v20170120.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/jna-4.1.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/jna-platform-4.1.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/junit-4.12.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/neko-htmlunit-2.25.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/phantomjsdriver-1.4.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/sac-1.3.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/serializer-2.7.2.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/websocket-api-9.4.3.v20170317.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/websocket-client-9.4.3.v20170317.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/websocket-common-9.4.3.v20170317.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/xalan-2.7.2.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/xercesImpl-2.11.0.jar"/>
<classpathentry kind="lib" path="C:/Users/zachmste/Downloads/lib/xml-apis-1.4.01.jar"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>

那我错过了什么?有什么想法吗?

1 个答案:

答案 0 :(得分:0)

我能够通过重新克隆项目来修复它并检查开发分支。 现在我可以开始申请了。