I am new to applets, and my manifest file is:
Ant-Version: Apache Ant 1.8.3
Created-By: 1.6.0-internal (Sun Microsystems Inc.)
The error I get is as follows:
When the page is loaded I get the following error:
java.lang.SecurityException: class "com.myPackage.test.client.TaskApplet" does not match trust level of other classes in the same package
Would you please advise what I need to do to fix the above security exception?
The following two SecurityExceptions are thrown after mixed components had previously been detected and a decision was made to allow them to coexist. The exceptions indicate that a component name collision (resource name or class package name) was detected between trusted and untrusted components and the request to load the resource or class was denied.
"resource \"" + name + "\" does not match trust level of other resources of the same name"
"class \"" + packageName + "\" does not match trust level of other classes in the same package"
More on it here http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mixed_code.html