{"action":"created","issue":{"url":"https://api.github.com/repos/Norconex/importer/issues/17","labels_url":"https://api.github.com/repos/Norconex/importer/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Norconex/importer/issues/17/comments","events_url":"https://api.github.com/repos/Norconex/importer/issues/17/events","html_url":"https://github.com/Norconex/importer/issues/17","id":110086695,"number":17,"title":"NoSuchMethodError and PDDocument.load","user":{"login":"sobczakt","id":232805,"avatar_url":"https://avatars.githubusercontent.com/u/232805?v=3","gravatar_id":"","url":"https://api.github.com/users/sobczakt","html_url":"https://github.com/sobczakt","followers_url":"https://api.github.com/users/sobczakt/followers","following_url":"https://api.github.com/users/sobczakt/following{/other_user}","gists_url":"https://api.github.com/users/sobczakt/gists{/gist_id}","starred_url":"https://api.github.com/users/sobczakt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobczakt/subscriptions","organizations_url":"https://api.github.com/users/sobczakt/orgs","repos_url":"https://api.github.com/users/sobczakt/repos","events_url":"https://api.github.com/users/sobczakt/events{/privacy}","received_events_url":"https://api.github.com/users/sobczakt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T19:52:58Z","updated_at":"2015-10-06T20:02:48Z","closed_at":null,"body":"I have such exception:\r\n\r\n> java.lang.NoSuchMethodError: org.apache.pdfbox.pdmodel.PDDocument.load(Ljava/io/InputStream;Ljava/lang/String;Z)Lorg/apache/pdfbox/pdmodel/PDDocument;\r\n>        at org.apache.tika.parser.pdf.EnhancedPDFParser.parse(EnhancedPDFParser.java:162)\r\n>        at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:177)\r\n        at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)\r\n        at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)\r\n        at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:177)\r\n        at com.norconex.importer.parser.impl.AbstractTikaParser$MergeEmbeddedParser.parse(AbstractTikaParser.java:377)\r\n        at com.norconex.importer.parser.impl.AbstractTikaParser.parseDocument(AbstractTikaParser.java:162)\r\n        at com.norconex.importer.Importer.parseDocument(Importer.java:418)\r\n        at com.norconex.importer.Importer.importDocument(Importer.java:314)\r\n        at com.norconex.importer.Importer.doImportDocument(Importer.java:267)\r\n        at com.norconex.importer.Importer.importDocument(Importer.java:195)\r\n        at com.norconex.collector.core.pipeline.importer.ImportModuleStage.execute(ImportModuleStage.java:35)\r\n        at com.norconex.collector.core.pipeline.importer.ImportModuleStage.execute(ImportModuleStage.java:26)\r\n        at com.norconex.commons.lang.pipeline.Pipeline.execute(Pipeline.java:90)\r\n        at com.norconex.collector.http.crawler.HttpCrawler.executeImporterPipeline(HttpCrawler.java:215)\r\n        at com.norconex.collector.core.crawler.AbstractCrawler.processNextQueuedCrawlData(AbstractCrawler.java:475)\r\n        at com.norconex.collector.core.crawler.AbstractCrawler.processNextReference(AbstractCrawler.java:376)\r\n        at com.norconex.collector.core.crawler.AbstractCrawler$ProcessReferencesRunnable.run(AbstractCrawler.java:689)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at java.lang.Thread.run(Thread.java:745)\r\n\r\n\r\nI'm trying to use Norconex HTTP Collecotor v2.2.1, and it has dependencies of Norconex Importer v2.3.1 and Apache PDFBox v2.0.0.SNAPSHOT.\r\n\r\nEnhancedPDFParser line 162 is:\r\n\r\n```java\r\npdfDocument = PDDocument.load(tstream, password, false);//, preserveMemory);\r\n```\r\n\r\nand as I saw PDFBox v2.0.0.SNAPSHOT, PDDocument class really doesn't have such method signature."},"comment":{"url":"https://api.github.com/repos/Norconex/importer/issues/comments/145981566","html_url":"https://github.com/Norconex/importer/issues/17#issuecomment-145981566","issue_url":"https://api.github.com/repos/Norconex/importer/issues/17","id":145981566,"user":{"login":"essiembre","id":2326274,"avatar_url":"https://avatars.githubusercontent.com/u/2326274?v=3","gravatar_id":"","url":"https://api.github.com/users/essiembre","html_url":"https://github.com/essiembre","followers_url":"https://api.github.com/users/essiembre/followers","following_url":"https://api.github.com/users/essiembre/following{/other_user}","gists_url":"https://api.github.com/users/essiembre/gists{/gist_id}","starred_url":"https://api.github.com/users/essiembre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essiembre/subscriptions","organizations_url":"https://api.github.com/users/essiembre/orgs","repos_url":"https://api.github.com/users/essiembre/repos","events_url":"https://api.github.com/users/essiembre/events{/privacy}","received_events_url":"https://api.github.com/users/essiembre/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T20:02:48Z","updated_at":"2015-10-06T20:02:48Z","body":"Are working from the source, or binary?  Because HTTP Collector 2.2.1 should have the good dependencies packaged with it when used on the command-line.  If you use Maven, I recommend you use the 2.3.0-SNAPSHOT version which is kept up-to-date in regards to PDFBox.   It also has several new features and fixes.  If you need to stick to 2.2.1 for some reason, let me know and I can commit a fix for it."}}