VIDA-NYU / domain_discovery_tool

This repository contains the Domain Discovery Tool (DDT) project. DDT is an interactive system that helps users explore and better understand a domain (or topic) as it is represented on the Web.
http://domain-discovery-tool.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
47 stars 18 forks source link

Java ClassNotFoundException when starting crawl #65

Open ayoungprogrammer opened 6 years ago

ayoungprogrammer commented 6 years ago

I am running docker compose on docker-compose.yml.ache.

I started a focused crawl from a model built from DDT using approx 100 relevant and 100 irrelevant labels and got the following error.

ache_1           | java.lang.IllegalArgumentException: Failed to load smile classifier instance from file: /config/cyber_model/pageclassifier.model
ache_1           |  at focusedCrawler.util.SmileUtil.loadSmileClassifier(SmileUtil.java:24)
ache_1           |  at focusedCrawler.target.classifier.SmileTargetClassifier.create(SmileTargetClassifier.java:141)
ache_1           |  at focusedCrawler.target.classifier.SmileTargetClassifier.create(SmileTargetClassifier.java:114)
ache_1           |  at focusedCrawler.target.classifier.TargetClassifierFactory.create(TargetClassifierFactory.java:80)
ache_1           |  at focusedCrawler.target.TargetStorage.create(TargetStorage.java:128)
ache_1           |  at focusedCrawler.crawler.async.AsyncCrawler.create(AsyncCrawler.java:117)
ache_1           |  at focusedCrawler.crawler.CrawlersManager.createCrawler(CrawlersManager.java:104)
ache_1           |  at focusedCrawler.Main$StartCrawl.run(Main.java:246)
ache_1           |  at focusedCrawler.Main.main(Main.java:59)
ache_1           | Caused by: java.lang.ClassNotFoundException: weka.classifiers.functions.SMO
yamsgithub commented 6 years ago

@ayoungprogrammer I updated the docker after updating the ache version we were using. You should no longer see this issue. Please let us know if it is otherwise.