intellij IDEA 14 時代碼中@override 下劃線ide
1.code
In the Project Structure | Project dialog, change the Project language Level to 6.0 - @Override in interfaces.ip
2.it
If your project has multiple modules, also check that every module uses language level 6 or above, or use the project's language level (see Project Settings > Modules > xxx > Language level
).io
You may need to reload your project once it is modified.module
http://stackoverflow.com/questions/15402615/override-is-not-allowed-when-implementing-interface-methodim