当前位置: 技术问答>java相关
AccessControlException的错误,欢迎光临.
来源: 互联网 发布时间:2015-08-26
本文导语: 在jdk1.3中错误如下: [DispatcherApplet] ----- DispatcherApplet destroy() ............ java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at jp.or.jacic.ebidfw.applet.parts.EbTimerPanel.run(EbTimerPanel.java:169) at java.lang...
在jdk1.3中错误如下:
[DispatcherApplet] ----- DispatcherApplet destroy() ............
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at jp.or.jacic.ebidfw.applet.parts.EbTimerPanel.run(EbTimerPanel.java:169)
at java.lang.Thread.run(Unknown Source)
[DispatcherApplet] ----- DispatcherApplet init() ............
[DispatcherApplet] ----- DispatcherApplet start() ............
[DispatcherApplet] ----- リソースファイルの読み込み............
[DispatcherApplet] ----- 暗号化部品生成............
[DispatcherApplet] ----- Kit Class Name = jp.or.jacic.ebidfw.common.utility.crypto.EbDummyUsefulEncryptionKit
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.misc)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDummyEncryptionUtils.(EbDummyEncryptionUtils.java:49)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDummyUsefulEncryptionKit.createEncryptionUtils(EbDummyUsefulEncryptionKit.java:32)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDefaultUsefulEncryption.init(EbDefaultUsefulEncryption.java:78)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDefaultUsefulEncryption.(EbDefaultUsefulEncryption.java:62)
at jp.or.jacic.ebidfw.common.utility.crypto.EbUsefulEncryptionFactory.getInstance(EbUsefulEncryptionFactory.java:88)
at jp.co.nec.ome.plugin.applet.DispatcherApplet.start(DispatcherApplet.java:267)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[DispatcherApplet] ----- DispatcherApplet destroy() ............
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at jp.or.jacic.ebidfw.applet.parts.EbTimerPanel.run(EbTimerPanel.java:169)
at java.lang.Thread.run(Unknown Source)
[DispatcherApplet] ----- DispatcherApplet init() ............
[DispatcherApplet] ----- DispatcherApplet start() ............
[DispatcherApplet] ----- リソースファイルの読み込み............
[DispatcherApplet] ----- 暗号化部品生成............
[DispatcherApplet] ----- Kit Class Name = jp.or.jacic.ebidfw.common.utility.crypto.EbDummyUsefulEncryptionKit
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.misc)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDummyEncryptionUtils.(EbDummyEncryptionUtils.java:49)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDummyUsefulEncryptionKit.createEncryptionUtils(EbDummyUsefulEncryptionKit.java:32)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDefaultUsefulEncryption.init(EbDefaultUsefulEncryption.java:78)
at jp.or.jacic.ebidfw.common.utility.crypto.EbDefaultUsefulEncryption.(EbDefaultUsefulEncryption.java:62)
at jp.or.jacic.ebidfw.common.utility.crypto.EbUsefulEncryptionFactory.getInstance(EbUsefulEncryptionFactory.java:88)
at jp.co.nec.ome.plugin.applet.DispatcherApplet.start(DispatcherApplet.java:267)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
|
看你的当前用户是否有权限?
accessClassInPackage.sun.misc主要是指当前用户的权限.
accessClassInPackage.sun.misc主要是指当前用户的权限.
|
java.security.AccessControlException: access denied
需要修改jdk的java.policy文件或者java.security文件,具体操作以前的帖子有说明,搜索一下(你不会用google搜索吧?哈哈!)
需要修改jdk的java.policy文件或者java.security文件,具体操作以前的帖子有说明,搜索一下(你不会用google搜索吧?哈哈!)
|
applet security problem occurs.