Maybe stating the obvious, but specifically the Base64 class from the
Apache Commons Codec Project.
TrueLicence will either ship with a jar called commons-codec.jar or
commons-codec-x.x.jar. This needs to be in the classpath.
If TrueLicence does not ship with this jar, point your browser at
http://jakarta.apache.org/commons/codec/ and go clickety-click to
download commons-codec.
Cheers,
Renier
Antoine Fortuine wrote:
First port of call is to check that your classpath is cool.
This sounds like your classpath isn't setup correctly so it can't find the
Base64 class.
Regards,
Antoine Fortuin
-----Original Message-----
From: [email protected] on behalf of Riaan Koegelenberg
Sent: Wed 1/11/2006 12:21 PM
To: [email protected]
Subject: [CTJUG Forum] Errors using TrueLicense Library Collection
Hi
I would like to know whether anyone has ever used the
TrueLicense Library Collection. This api is used to create
license keys for Java apps.
I am getting the following error when trying to create the
license file:
java.lang.NoClassDefFoundError:
org/apache/commons/codec/binary/Base64
at de.schlichtherle.xml.GenericCertificate.sign(Unknown
Source)
at de.schlichtherle.license.LicenseNotary.sign(Unknown
Source)
at de.schlichtherle.license.LicenseNotary.sign(Unknown
Source)
at de.schlichtherle.license.LicenseManager.create(Unknown
Source)
at de.schlichtherle.license.LicenseManager.store(Unknown
Source)
at de.schlichtherle.license.LicenseManager.store(Unknown
Source)
at
za.co.q3.LicenseCreator.CreateLicense.<init>(CreateLicense.java:36)
at
za.co.q3.LicenseCreator.CreateLicense.main(CreateLicense.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Exception in thread "main"
Any help will be appreciated.
Riaan
___________________________________________________________________
For super low premiums, click here http://www.webmail.co.za/dd.pwm
http://www.webmail.co.za the South African FREE email service
Paltrack Pty (Ltd) Reg No 2000/002936/07
Directors: P.W. Mountford (Chairman) | A.J. Mouton (Managing) | S.I. Rocher |
A.J. de Haast | J.G.F. du Plessis
This email and any accompanying attachments may contain confidential and
proprietary information. This information is private
and protected by law and, accordingly, if you are not the intended recipient,
you are requested to delete this entire
communication immediately and are notified that any disclosure, copying or
distribution of or taking any action based on this
information is prohibited.
Emails cannot be guaranteed to be secure or free of errors or viruses. The
sender does not accept any liability or
responsibility for any interception, corruption, destruction, loss, late
arrival or incompleteness of or tampering or
interference with any of the information contained in this email or for its incorrect delivery or non-delivery for whatsoever
reason or for its effect on any electronic device of the recipient.
If verification of this email or any attachment is required, please request a
hard copy version.
______________________________________
Queries to: [EMAIL PROTECTED]