appium/java-client

Some problems with source compilation in Eclipse IDE

TikhomirovSergey opened this issue · 2 comments

Description

The source code is not compiled in Eclipse IDE

Details

There are multiple compilation errors like

Description Resource Path Location Type
The return type is incompatible with FindsByAccessibilityId.findElementsByAccessibilityId(String) AppiumDriver.java /java-client/src/main/java/io/appium/java_client line 211 Java Problem

It is weird because the same code is compiled perfectly in IntellijIDEA. Also I can remember that it was compiled on April 2015 in Eclipse.

Possible rootcauses and solutions:

  • there is something wrong in pom.xml and then it should improved
  • there is something wrong with IDE instance and then correct settings should be documented.

The same has been reproduced in IDEA 2016.1.2