Java error java.util.concurrent.ConcurrentHashMap.keySet

后端 未结 1 972
我在风中等你
我在风中等你 2021-01-03 08:41

Hey guy\'s am getting this error: Can you guy\'s possibly try to fix this? or see whats wrong post a fix or something

Thanks alot guy\'s :)

Exceptio         


        
1条回答
  •  粉色の甜心
    2021-01-03 09:27

    Looks like you have a library which need java8 and you run under a version lower than 8.

    In java 8 the api has changed:

    In java 8 the keySet method returned an object

    ConcurrentHashMap.KeySetView
    

    In java 7

    Set
    

    0 讨论(0)
提交回复
热议问题