The “import java.util.function cannot be resolved” error

后端 未结 8 1579
感动是毒
感动是毒 2021-01-11 12:49

I\'m trying to run this practice script from the standard Oracle Java tutorials.

This seems to be a common error and I\'ve used SO resources to make attempts to fix

8条回答
  •  轮回少年
    2021-01-11 13:32

    i solved this problem by trying following solution

    Project > Properties > Java Build Path
    Select Libraries tab
    Select JRE System Library
    Click Edit button
    Choose an alternate JRE (jre1.8.0_20)
    Click Finish button

提交回复
热议问题