{"action":"created","issue":{"url":"https://api.github.com/repos/Norconex/collector-http/issues/45","labels_url":"https://api.github.com/repos/Norconex/collector-http/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/Norconex/collector-http/issues/45/comments","events_url":"https://api.github.com/repos/Norconex/collector-http/issues/45/events","html_url":"https://github.com/Norconex/collector-http/issues/45","id":55032455,"number":45,"title":"Trying to start 2.0.1 with old configs.","user":{"login":"AntonioAmore","id":7804074,"avatar_url":"https://avatars.githubusercontent.com/u/7804074?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonioAmore","html_url":"https://github.com/AntonioAmore","followers_url":"https://api.github.com/users/AntonioAmore/followers","following_url":"https://api.github.com/users/AntonioAmore/following{/other_user}","gists_url":"https://api.github.com/users/AntonioAmore/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonioAmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonioAmore/subscriptions","organizations_url":"https://api.github.com/users/AntonioAmore/orgs","repos_url":"https://api.github.com/users/AntonioAmore/repos","events_url":"https://api.github.com/users/AntonioAmore/events{/privacy}","received_events_url":"https://api.github.com/users/AntonioAmore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-21T15:23:10Z","updated_at":"2015-01-22T14:30:40Z","closed_at":null,"body":"Hello!\r\n\r\nHaven't visited you for a long time :)\r\n\r\nI cleaned workdir and tried to launch the collector via command line getting such exceptions:\r\n\r\n```\r\nWARN  [ConfigurationUtil] Could not instantiate object from configuration for node: crawlerDefaults key: robotsTxt\r\ncom.norconex.commons.lang.config.ConfigurationException: This class could not be instantiated: \"com.norconex.collector.http.robot.impl.DefaultRobotsTxtProvider\".\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:177)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:292)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:258)\r\n\tat com.norconex.collector.http.crawler.HttpCrawlerConfig.loadCrawlerConfigFromXML(HttpCrawlerConfig.java:285)\r\n\tat com.norconex.collector.core.crawler.AbstractCrawlerConfig.loadFromXML(AbstractCrawlerConfig.java:325)\r\n\tat com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfig(CrawlerConfigLoader.java:123)\r\n\tat com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfigs(CrawlerConfigLoader.java:72)\r\n\tat com.norconex.collector.core.AbstractCollectorConfig.loadFromXML(AbstractCollectorConfig.java:176)\r\n\tat com.norconex.collector.core.CollectorConfigLoader.loadCollectorConfig(CollectorConfigLoader.java:78)\r\n\tat com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:65)\r\n\tat com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)\r\nCaused by: java.lang.ClassNotFoundException: com.norconex.collector.http.robot.impl.DefaultRobotsTxtProvider\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:372)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:360)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:260)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:175)\r\n\t... 10 more\r\nWARN  [ConfigurationUtil] Could not instantiate object from configuration for node: crawlerDefaults key: robotsMeta\r\ncom.norconex.commons.lang.config.ConfigurationException: This class could not be instantiated: \"com.norconex.collector.http.robot.impl.DefaultRobotsMetaProvider\".\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:177)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:292)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:258)\r\n\tat com.norconex.collector.http.crawler.HttpCrawlerConfig.loadCrawlerConfigFromXML(HttpCrawlerConfig.java:309)\r\n\tat com.norconex.collector.core.crawler.AbstractCrawlerConfig.loadFromXML(AbstractCrawlerConfig.java:325)\r\n\tat com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfig(CrawlerConfigLoader.java:123)\r\n\tat com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfigs(CrawlerConfigLoader.java:72)\r\n\tat com.norconex.collector.core.AbstractCollectorConfig.loadFromXML(AbstractCollectorConfig.java:176)\r\n\tat com.norconex.collector.core.CollectorConfigLoader.loadCollectorConfig(CollectorConfigLoader.java:78)\r\n\tat com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:65)\r\n\tat com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)\r\nCaused by: java.lang.ClassNotFoundException: com.norconex.collector.http.robot.impl.DefaultRobotsMetaProvider\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:372)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:360)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:260)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:175)\r\n\t... 10 more\r\nException in thread \"main\" java.lang.NoClassDefFoundError: com/norconex/committer/AbstractMappedCommitter\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:760)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:455)\r\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:73)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:367)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:360)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:260)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:175)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:292)\r\n\tat com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:258)\r\n\tat com.norconex.collector.core.crawler.AbstractCrawlerConfig.loadFromXML(AbstractCrawlerConfig.java:318)\r\n\tat com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfig(CrawlerConfigLoader.java:123)\r\n\tat com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfigs(CrawlerConfigLoader.java:83)\r\n\tat com.norconex.collector.core.AbstractCollectorConfig.loadFromXML(AbstractCollectorConfig.java:176)\r\n\tat com.norconex.collector.core.CollectorConfigLoader.loadCollectorConfig(CollectorConfigLoader.java:78)\r\n\tat com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:65)\r\n\tat com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)\r\nCaused by: java.lang.ClassNotFoundException: com.norconex.committer.AbstractMappedCommitter\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:372)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:360)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\t... 24 more\r\n\r\n```\r\n\r\nWhat I'm doing wrong and are old configs good for a new version of the collector?"},"comment":{"url":"https://api.github.com/repos/Norconex/collector-http/issues/comments/71028041","html_url":"https://github.com/Norconex/collector-http/issues/45#issuecomment-71028041","issue_url":"https://api.github.com/repos/Norconex/collector-http/issues/45","id":71028041,"user":{"login":"AntonioAmore","id":7804074,"avatar_url":"https://avatars.githubusercontent.com/u/7804074?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonioAmore","html_url":"https://github.com/AntonioAmore","followers_url":"https://api.github.com/users/AntonioAmore/followers","following_url":"https://api.github.com/users/AntonioAmore/following{/other_user}","gists_url":"https://api.github.com/users/AntonioAmore/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonioAmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonioAmore/subscriptions","organizations_url":"https://api.github.com/users/AntonioAmore/orgs","repos_url":"https://api.github.com/users/AntonioAmore/repos","events_url":"https://api.github.com/users/AntonioAmore/events{/privacy}","received_events_url":"https://api.github.com/users/AntonioAmore/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T14:30:40Z","updated_at":"2015-01-22T14:30:40Z","body":"I'm sure that's something wrong with configuration, or a library is absient, as the collector can't download any page causing a similar exception."}}