java升级到6后,网页就打不开了,java控制台报错为 下面的一段代码,什么原因?如何解决啊?
java.security.AccessControlException:accessdenied(java.util.PropertyPermissionSERVLET...
java.security.AccessControlException: access denied (java.util.PropertyPermission SERVLET_CALL_URL write)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.System.setProperty(Unknown Source)
at nc.ui.sm.login.AppletContainer.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) 展开
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.System.setProperty(Unknown Source)
at nc.ui.sm.login.AppletContainer.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) 展开
2个回答
展开全部
找到您的ie浏览察槐派器使用的jre包,我的是:D:\Program Files\Java\败贺jre1.6.0\lib\security,在这个包下面有个java.policy文件,打开编辑它:
在grant里增加2个语明枯句:
permission java.lang.RuntimePermission "accessClassInPackage.sun.jdbc.odbc";
permission java.util.PropertyPermission "file.encoding", "read";
再关闭ie,重新运行
在grant里增加2个语明枯句:
permission java.lang.RuntimePermission "accessClassInPackage.sun.jdbc.odbc";
permission java.util.PropertyPermission "file.encoding", "read";
再关闭ie,重新运行
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询