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

后端 未结 8 1522
感动是毒
感动是毒 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:38

    Ran into this problem when the version I was using in the below properties was <1.8. Updating my POM to a version >1.8 resolved my issue.

    
         1.9
         1.9
    
    

提交回复
热议问题