我看到以下异常(在Linux Java6-sun安装上,但在OSX上没有)
Caused by: java.util.MissingResourceException: Can't find bundle for base name sun.security.tools.JarSignerResources, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at com.wuntee.aat.security.tools.JarSigner.<clinit>(JarSigner.java:96)
... 12 more
但是,我可以看到tools.jar存在于java安装目录中,而tools.jar包含JarSignerResource类。有什么想法吗?
答案 0 :(得分:0)
问题与找不到jar有关。问题与在jar中找不到en_US语言环境的某些资源有关。 有两件事情可以发生: