@Override is not allowed when implementing interface method

前端 未结 7 1616
难免孤独
难免孤独 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:16

    I ran into this problem for the first time while using a multi module maven project. As other answers / IDE suggested, we need to set the language level.

    Rather than changing the setting of IDE, to make the project IDE agnostic, I update the parent pom with below properties, which solved the issue.

    
        1.8
        1.8
    
    

提交回复
热议问题