The specific error message is as follows:
Exception in thread "main" Java.lang.SecurityException:SHA1 Digest error forOrg/eclipse/swt/widgets/table.classAt sun.security.util.ManifestEntryVerifier.verify (Unknown Source) at Java.util.jar.JarVerifier.processEntry (Un Known source) at Java.util.jar.JarVerifier.update (Unknown source) at Java.util.jar.jarverifier$verifierstream.read (U Nknown source) at Sun.misc.Resource.getBytes (Unknown source) at Java.net.URLClassLoader.defineClass (Unknown source) At java.net.urlclassloader.access$100(Unknown Source) at java.net.urlclassloader$1. Run (Unknown Source) at java.net.urlclassloader$1. Run (Unknown Source) at java.security.AccessController.doPrivileged (Native Method) at java.net.URLClassLoader.fi Ndclass (Unknown source) at Java.lang.ClassLoader.loadClass (Unknown source) at SUN.MISC.LAUNCHER$APPCLASSLOADER.LOADC Lass (Unknown source) at Java.lang.ClassLoader.loadClass (Unknown source) at Com.book.TableViewer2.open (TABLEVIEWER2.J Ava:32) at Com.book.TableViewer2.main (Tableviewer2.java:22)
Finally found the specific cause of the error, (in Baidu and Google was prompted with a jar package problem)
Along this line of thinking to find the Table.class of the package Org.eclipse.swt.win32.win32.x86_64_3.6.1.v3655c.jar thought to go online to download the package.
Here by the way Baidu really does not, search this jar package can not find anything (or not a valid search information) ...
Goolge is the kingly way ..... Found this site on Google http://www.java2s.com/(specifically this address: http://www.java2s.com/Code/Jar/o/ downloadorgeclipseswtwin32win32x8664361v3655cjar.htm) found the jar package. Overwrite the previous.
Re-run it, then.
In the process of finding the way to know, manifest ( show, show; prove; make manifest. To do the noun is: manifest, passenger list ) This file some things.
There is a Meta-inf folder in the jar package.
In this folder are:
Where MANIFEST.MF is the SHA1 (Secure Hash algorithm) of each class contained in this jar package is primarily applicable to digital signature standards (digitally Signature standard DSS)
SHA1 has the following characteristics: It is not possible to recover information from a message digest; two different messages do not produce the same message digest. The use of specific SHA1 Baidu go. I said so much ...)
A summary of errors encountered in running the SWT program