Application fails with Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/xwpf/usermodel/XWPFDocument

2018-02-10 Thread Marco Lechner - FOSSGIS e.V.
Hi, started using org.apache.poi.xwpf version 3.16 (defined as dependency in projects pom.xml). When I test my application in my IDE (idea) it works like a charm, but when I try to run the compiled jar from commandline using $ java -jar target/dokpool-faq-importer.jar ./test/FAQs.docx I get the

Re: Application fails with Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/xwpf/usermodel/XWPFDocument

2018-02-10 Thread Marco Lechner - FOSSGIS e.V.
Sorry about the noise. Fixed it - was just an error in the pom.xml. Marco Am 10.02.2018 um 22:38 schrieb Marco Lechner - FOSSGIS e.V.: > Hi, > > started using org.apache.poi.xwpf version 3.16 (defined as dependency in > projects pom.xml). When I test my application in my IDE (id

upgrade from 3.16 to 3.17 fails with cannot access org.apache.poi.wp.usermodel.Paragraph

2018-02-10 Thread Marco Lechner - FOSSGIS e.V.
Hi, when I try to upgrade to 3.17 from 3.16, I get the following error: cannot access org.apache.poi.wp.usermodel.Paragraph [ERROR] class file for org.apache.poi.wp.usermodel.Paragraph not found To extract the Paragraphs of a TableCell it works in 3.16 with import org.apache.poi.xwpf.usermodel.