开发者社区 问答 正文

myeclipse安装webmagic引入经典案例提示报错?报错

Multiple markers at this line
- The method getSite() of type GithubRepoPageProcessor must override a superclass 
method

- implements us.codecraft.webmagic.processor.PageProcessor.getSite

展开
收起
爱吃鱼的程序员 2020-06-09 16:19:29 461 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    @Override报错是jdk编译器的问题,如果碰到选择1.6的编译器。1.5就会报错window》preference》java》compiler》版本改为1.6即可

    2020-06-09 16:19:45
    赞同 展开评论