You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Pa...@emainc.com on 2009/12/15 18:46:21 UTC

LinkageError

Hi,

 

This line of code:

 

Document doc = LucenePDFDocument.getDocument(pdfFile);

 

Is causing the following error:

 

Exception in thread "<thread-name>" java.lang.LinkageError: loader
constraint violation: loader (instance of
org/apache/catalina/loader/StandardClassLoader) previously initiated
loading for a different type with name
"org/apache/lucene/document/Document"

 

I'm using the following:

 

PDFBox version 0.8.0  (pdfbox-0.8.0-incubating.jar)

Lucene 2.9.0

Jdk1.6.0_17

Windows XP Service Pack 3

 

Please help.

 

Thanks,

Paul