I am trying to implement a basic crawler and I am following the instructions for the implementation using crawler4j using java. I am getting this error in the last line
Bound mismatch: The generic method start(Class<T>, int) of type CrawlController is not applicable for the arguments (Class<MyCrawler>, int). The inferred type MyCrawler is not a valid substitute for the bounded parameter <T extends WebCrawler>
Any body who has used this before who has come across this error?
controller.start(MyCrawler.class, numberOfCrawlers);
How should I get around this?