I am getting the following error:
Bound mismatch: The generic method constructPage(WebDriver, int, Class) of type Page is not applicab
If you any one still face the same error change JDK 1.8 or latest version in compiler level from Window > Preferences > Java > Compiler > "Compiler Compilation level" -> 1.8