Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

比较多的类报找不到对应的方法 #32

Open
cctyl opened this issue Mar 30, 2020 · 0 comments
Open

比较多的类报找不到对应的方法 #32

cctyl opened this issue Mar 30, 2020 · 0 comments

Comments

@cctyl
Copy link

cctyl commented Mar 30, 2020

有比较多的类提示找不到对应的方法,其中这一处
com.github.wycm.zhihu.service.receiver.ZhihuUserTaskReceiver
@Override protected Runnable createNewTask(CrawlerMessage crawlerMessage) { ZhihuUserTask task = new ZhihuUserTask(crawlerMessage, zhihuComponent); task.setUrl(crawlerMessage.getUrl()); task.setCurrentRetryTimes(crawlerMessage.getCurrentRetryTimes()); task.setProxyFlag(true); return task; }
上面这个方法里,task对象里面根本没有setUrl方法,setCurrentRetryTimes 以及setProxyFlag都没有,不知道出了什么问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant