java.lang.NoClassDefFoundError:升级katalon版本后,项目中的org / openqa / selenium / WebElement来自

时间:2019-03-08 12:47:02

标签: selenium katalon-studio java.lang

我在升级katalon版本时从项目中收到此错误,知道为什么会发生吗?

java.lang.NoClassDefFoundError:org / openqa / selenium / WebElement

测试用例/ Update-UAT-CMS-CommonBlock /更新-UAT-CMS-CommonBlock失败。原因:java.lang.NoClassDefFoundError:org / openqa / selenium / WebElement        在Update-UAT-CMS-CommonBlock.run(Update-UAT-CMS-CommonBlock:22)        在com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)        在com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)        在com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)        在com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)        位于com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)        在com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)        在com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)        在com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:129)        在com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:112)        在com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:81)        在com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:149)        at com.kms.katalon.core.main.TestCaseMain $ startTestSuite $ 0.call(来源不明)        在TempTestSuite1552044370237.run(TempTestSuite1552044370237.groovy:36)造成原因:java.lang.ClassNotFoundException:org.openqa.selenium.WebElement        在Script1550588513933.run(Script1550588513933.groovy:22)        ...还有13个

0 个答案:

没有答案