[
https://issues.apache.org/jira/browse/PDFBOX-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944868#comment-13944868
]
brijesh commented on PDFBOX-1994:
---------------------------------
Hi,
while testing the .jar , getting exception,
Exception in thread "main" java.lang.NoClassDefFoundError: com/jgoodies/looks/pl
astic/PlasticTheme
Caused by: java.lang.ClassNotFoundException: com.jgoodies.looks.plastic.PlasticT
heme
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: specgas.MainGas. Program will exit.
---So i cant test the .jar.
- But i am confidant that , this is working fine in local with java 1.4 version.
and other code and corresponding .jar is working fine in server , except
'PDDocument.load' statement.
control is hanging with no error message.
- Can u please provide me any other method for converting the .jar to .exe ?
-
> PDDocument.load(filename.pdf) hangs for pdf files having size
> -------------------------------------------------------------
>
> Key: PDFBOX-1994
> URL: https://issues.apache.org/jira/browse/PDFBOX-1994
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.4
> Reporter: brijesh
>
> The below code i am using for loading my pdf. but my pdf file is not a zero
> sized files and having full permission and it is not a corrupt file also. but
> i ddint get any error after code. it just hangs.
> it is working in local, but not working in server .
> (created ,jar files and then exe, then the .exe will excuted in the server)
> java using 1,4
> PDDocument pdf=PDDocument.load("d:\\filename.pdf");
> pdf.print();
> please provide me why the same code is not working in server.
--
This message was sent by Atlassian JIRA
(v6.2#6252)