java - getting exception .NoClassDefFoundError: com/itextpdf/text/log/CounterFactory -



java - getting exception .NoClassDefFoundError: com/itextpdf/text/log/CounterFactory -

i trying create pdf/a document using itext , java next code:

pdfawrite author = pdfawriter.getinstance(mydoc, mystream, pdfaconformancelevel.pdf_a_1a);

but maintain getting exception:

java.lang.noclassdeffounderror: com/itextpdf/text/log/counterfactory @ com.itextpdf.text.pdf.pdfawriter.<init>(pdfawriter.java:210) @ com.itextpdf.text.pdf.pdfawriter.getinstance(pdfawriter.java:86)

this pom.xml

<dependency> <groupid>com.itextpdf</groupid> <artifactid>itextpdf</artifactid> <version>5.5.3</version> </dependency> <dependency> <groupid>com.itextpdf</groupid> <artifactid>itext-pdfa</artifactid> <version>5.5.3</version> </dependency>

can tell should prepare problem?

thanks

i similiar exceptions when have said class in more 1 jar. maybe should check classpath duplicates. maybe different versions of same library coexist. if you're using eclipse, have @ 'dependency hierarchy' view of pom , seek locate duplicate.

java pdf itext pdfa

Comments

  1. Java - Getting Exception .Noclassdeffounderror:
    Com/Itextpdf/Text/Log/Counterfactory - >>>>> Download Now

    >>>>> Download Full

    Java - Getting Exception .Noclassdeffounderror:
    Com/Itextpdf/Text/Log/Counterfactory - >>>>> Download LINK

    >>>>> Download Now

    Java - Getting Exception .Noclassdeffounderror:
    Com/Itextpdf/Text/Log/Counterfactory - >>>>> Download Full

    >>>>> Download LINK lJ

    ReplyDelete

Post a Comment

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -