You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Buzzy Spain <bs...@heartflow.com> on 2013/04/04 00:43:48 UTC
logging error
Hi all,
I am running into the error below when attempting to load a pdf document in
a unit test that I am writing. Running similar code inside the same host's
tomcat deployment seems to work just fine. If anyone can point me in the
right direction I would appreciate the help.
Thanks,
Buzzy
[java] Exception in thread "main" java.lang.ExceptionInInitializerError
[java] at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:223)
[java] at org.slf4j.LoggerFactory.bind(LoggerFactory.java:120)
[java] at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
[java] at
org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:269)
[java] at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
[java] at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
[java] at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
[java] at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[java] at
org.apache.pdfbox.pdfparser.BaseParser.<clinit>(BaseParser.java:65)
[java] at
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1186)
[java] at
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1154)
[java] at
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1125)
... <my code>...
[java] Caused by: java.lang.UnsupportedOperationException: This code
should have never made it into the jar
[java] at
org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:67)
[java] at
org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48)
[java] ... 15 more