Applet AccessControlException access denied



我正在尝试引用JLayer。

<applet
code="AppStart.class"
height="480"
width="640"
archive="jl1.0.jar, AnApplet.jar"
</applet>

我在控制台上不断收到此错误

Exception in thread "pool-1-thread-1" java.security.AccessControlException: 
  access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkAccessHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkAccess(Unknown Source)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at java.lang.Thread.<init>(Unknown Source)
at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

有什么帮助吗?

这是我第一次使用引用的 jar。我的其他小程序工作正常。

引用的 jar 未签名,并且正在尝试创建一个线程,这在小程序的未签名 jar 中是不允许的。

签名。

相关内容

  • 没有找到相关文章

最新更新