在构建项目时出现编译错误

时间:2014-09-09 15:30:48

标签: selenium sikuli

我正在研究Selenium webdriver。对于Adobe Flash播放器,我实现了一个名为sikuli-setup.jar的jar。 但是在构建项目时遇到编译错误。

/C:/prim_new/connect-selenium/src/main/java/com/selenium/automated/CreateLSMasterAssignment.java:[9,25] package org.sikuli.script does not exist
/C:/prim_new/connect-selenium/src/main/java/com/selenium/sikulihelper/CreateLSMasterAssignmentHelper.java:[4,25] package org.sikuli.script does not exist
/C:/prim_new/connect-selenium/src/main/java/com/selenium/automated/CreateLSMasterAssignment.java:[53,33] cannot find symbol
  symbol:   class Screen
  location: class com.selenium.automated.CreateLSMasterAssignment
/C:/prim_new/connect-selenium/src/main/java/com/selenium/automated/CreateLSMasterAssignment.java:[53,49] cannot find symbol

1 个答案:

答案 0 :(得分:0)

我认为错误说明了一切:"包org.sikuli.script不存在"

Screen位于org.sikuli.api.Screen。我在项目中使用的jar是sikuli-api.jar,它依赖于sikuli-core.jar。