@Override is not allowed when implementing interface method

前端 未结 7 1403
难免孤独
难免孤独 2021-01-30 00:49

I have the problem mentioned in the title. You could say that this thread duplicates another one: How do I turn off error validation for annotations in IntelliJ IDEA?

Bu

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-30 01:19

    At your module/project, Right click to see context menu:

    enter image description here

    Choose Open Module Settings or press F4. In setting windows:

    enter image description here
    Set value for Choose Language level section.


    You also should check Project language level by this way: press Ctrl+Alt+Shift+S

    enter image description here

提交回复
热议问题