MyEclipse导入项目The method of type serviceimpl must override a superclass method的解决方法

问题描述:
使用MyEclipse导入项目时,使用 @Override 时出现以下错误信息:
The method of type serviceimpl must override a superclass method

错误原因:
是因为你的Compiler 使用的是jdk1.5,需要把它改成1.6

解决方法:

  1. window ->preferences… -> java -> Compiler

  2. Compiler compliance level 选择 1.6

  3. 点击Apply->OK
    MyEclipse导入项目The method of type serviceimpl must override a superclass method的解决方法
    4.修改项目的JRE为1.6

    点击项目右键->build path->configure build path->选择java Compiler
    找到Compiler compliance level: 修改版本为1.6
    点击apply->ok即可。
    MyEclipse导入项目The method of type serviceimpl must override a superclass method的解决方法