Bound mismatch error and java generic method

前端 未结 5 1505
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-06 00:32

I am getting the following error:

Bound mismatch: The generic method constructPage(WebDriver, int, Class) of type     
Page is not applicab         


        
5条回答
  •  一生所求
    2021-01-06 00:57

    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

提交回复
热议问题