Donnerstag, 6. November 2014

PDF file from Html -->ITextRenderer

If you are using ITextRenderer for pdf creation from Html, then use its method setDocumentFromString(String html) which accepts string. instead of setDocument(Document, String Uri) because SetDocument method need Document as parameter and for that you have to parse html to Document first and standard parse method from DocumentBuilder is very slow. 

Freitag, 5. September 2014

sun.security.validator.ValidatorException in Maven dependency download

During maven setup, i got the following error:
Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Luckily there was solution for this problem available at this post.

http://nodsw.com/blog/leeland/2006/12/06-no-more-unable-find-valid-certification-path-requested-target

Mittwoch, 23. Juli 2014