We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

SetLicense not working properly

Hi,

We are facing SetLicense exception when trying to using Evaluation Version of Aspose BarCode and getting the following error.

java.lang.Exception: AAA
at com.sun.deploy.cache.CachedJarFile$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.CachedJarFile.ensureAncestorKnowsAboutManifest(Unknown Source)
at com.sun.deploy.cache.CachedJarFile.(Unknown Source)
at com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at com.aspose.barcode.B.b(Unknown Source)
at com.aspose.barcode.B.a(Unknown Source)
at com.aspose.barcode.B.a(Unknown Source)
at com.aspose.barcode.License.setLicense(Unknown Source)

Kindly help in the issue

Hi,


Thank you for your inquiry.

Can you please share what version of Aspose.BarCode for Java are you using?

I have just tried the below source code with latest version of Aspose.BarCode for Java v2.7.0 and I am unable to replicate your said issue.

[Java]
com.aspose.barcode.License lic = new com.aspose.barcode.License();
lic.setLicense(“Aspose.Barcode.lic”);

Hi,

Can you update me from where can I download Aspose.BarCode for Java v2.7.0.

Hi,


Please check the below link for Aspose.BarCode Java v2.7.0,
http://www.aspose.com/community/files/72/java-components/aspose.barcode-for-java/entry314084.aspx

Regards,