Hi,
I recently downloaded the latest version of the PDF Library. I'm also using our existing Small Business License File against it. Our code compiles fine, but upon execution it throws the following exception. Can you please assist and let me know what we're doing wrong.
PS:
I also tried leaving out the License step but the same error gets thrown. At the least, I would expect the code to run and inject the Evaluation Stamp to the generated PDF file. Please advise what the problem could be.
Thanks.
Exception:
java.lang.SecurityException: class "aspose.pdf.Paragraph"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Exception in thread "main"