dcsimg
send mail applic: java.lang.SecurityException: no manifest section... error raised when lauching the jar file
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   franck_dessoly
Posted On:   Monday, May 5, 2003 03:37 PM

Hi, I've written a simple applic using javax.mail. This works perfectly under JBuilder. But, when lauching it with the jar version, this above exsception is raised. Can someone help me? Tx in advance, F. Exception in thread "main" java.lang.SecurityException: no manifiest section for signature file entry javax/activation/MimeTypeParseException.class at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:262) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:174) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:241) at java.util.jar.JarVerifier.update(JarVerifier.java:197) at java.util.jar.JarFile.i   More>>

Hi,
I've written a simple applic using javax.mail.
This works perfectly under JBuilder.
But, when lauching it with the jar version, this above exsception is raised. Can someone help me?
Tx in advance,
F.

Exception in thread "main" java.lang.SecurityException: no manifiest section for signature file entry javax/activation/MimeTypeParseException.class
at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:262)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:174)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:241)
at java.util.jar.JarVerifier.update(JarVerifier.java:197)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
at java.util.jar.JarFile.getInputStream(JarFile.java:310)
at sun.misc.URLClassPath$4.getInputStream(URLClassPath.java:537)
at sun.misc.Resource.getBytes(Resource.java:60)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:245)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

   <<Less
About | Sitemap | Contact