gpt4 book ai didi

java - 在 Java 7 更新 67 中找不到 com.sun.corba 类

转载 作者:行者123 更新时间:2023-11-29 03:16:58 25 4
gpt4 key购买 nike

在 jdk 1.7u67 上测试 HPSA(HP 服务器自动化插件)时,它会抛出错误,但它在 jdk 1.7u21 上运行良好。

Error:- 

Caused by: java.util.MissingResourceException: Can't find com.sun.corba.se.impl.logging.LogStrings bundle
at java.util.logging.Logger.setupResourceInfo(Logger.java:1534) [rt.jar:1.7.0_67]
at java.util.logging.Logger.<init>(Logger.java:267) [rt.jar:1.7.0_67]

最佳答案

JDK bug 8021257解决了访问 com.sun.corba.se.** 下的类和包的程序的一些安全问题。此错误已反向移植bug 8027797 中的 Java 7 更新 51| ,并记录在发行说明中:

http://www.oracle.com/technetwork/java/javase/7u51-relnotes-2085002.html

The JDK internal package com.sun.corba.se and its sub-packages have been added to the restricted package list and therefore cannot be used directly when running with a security manager.

Workaround: Applications running with a security manager that make direct use of classes in these JDK internal packages, need to adjust their security policy to grant access. See Java Security Policy Files documentation.

关于java - 在 Java 7 更新 67 中找不到 com.sun.corba 类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25967918/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com