Usage of API documented as @since1.6+

后端 未结 5 768
北荒
北荒 2020-12-05 13:47

I keep getting this error even though I have a 1.6+ version (I have 1.8), and i\'m working with IntelliJ.

P.S. I have tried to update both, java jre and java jdk, di

5条回答
  •  孤城傲影
    2020-12-05 14:36

    use below in your pom to set the java version which Intellij will be used(default is 1.5)

    
        1.8
        1.8
    
    

提交回复
热议问题