Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Throws SecurityException when merge my jar?



This has to do with the security on the jar files you are trying to integrate.  I had this problem as well - the only solution I know of with xcode is to put the jars you need, without merging them, somewhere else on the classpath like /Library/Java/Extensions or /Libary/WebObjects/Extensions.

My solution, although an involved one, was to switch to Eclipse!

Ken

On May 16, 2006, at 10:25 PM, 谢纲 wrote:

Hi,all
I developed my java app with Xcode. When I did not choose the "Merge" in "Link Binary With Libaries" of the build phases, it works well. But once I
choose to merge the jar file, it throws SecurityException, as shown in following:
 
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature file entry org/bouncycastle/ocsp/OCSPException.class
Is it because of the using of some deprecated APIs? And  how can I deal with it while I do not want to modify the jar file?
Thks & Rgds!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Throws SecurityException when merge my jar? (From: "谢纲" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.