Xpages无法加载,错误500; java.util无法解析 [英] Xpages can't load, Error 500; java.util cannot be resolved

查看:92
本文介绍了Xpages无法加载,错误500; java.util无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将几个应用程序移到了运行Domino 9.0.1FP8(JVM版本:JRE 1.8.0 Windows Server 2008 R2 amd64-64)的服务器上.自从这样做以来,我无法加载任何东西,但是最基本的Xpages.我收到错误500 HTTP Web服务器:未处理命令异常"页面.

I recently moved a couple of applications to a server that is running Domino 9.0.1FP8 (JVM version: JRE 1.8.0 Windows Server 2008 R2 amd64-64). Since I did this I've been unable to load any, but the most basic of Xpages. I get the "Error 500 HTTP Web Server: Command Not Handled Exception" page.

通过... IBM \ Domino \ data \ IBM_TECHNICAL_SUPPORT \ xpages_exec,我得到如下异常:

Via the ...IBM\Domino\data\IBM_TECHNICAL_SUPPORT\xpages_exec I get Exceptions such as:

  • 无法解析类型java.util.Comparator.从所需的.class文件中间接引用
  • 无法解析类型java.util.Map $ Entry.从所需的.class文件中间接引用
  • 导入java.util.Arrays无法解析

在Designer的问题"标签中,我也遇到以下错误:

I'm also getting the following Errors in the "Problems" tab in Designer:

  • 该项目未构建,因为其构建路径不完整.无法 查找java.util.Comparator的类文件.然后修复构建路径 尝试建立这个项目"
  • 无法解析类型java.util.Comparator.它是间接的 从所需的.class文件引用"
  • "The project was not built since its build path is incomplete. Cannot find the class file for java.util.Comparator. Fix the build path then try building this project"
  • "The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files"

在Java 1.8中java.util失败是有原因的吗?有什么我可以做的吗?谢谢你的帮助.

Is there a reason the java.util is failing in Java 1.8? Is there anything I can do? Thanks for any help.

推荐答案

当Domino Designer 9.0.1 FP8尝试针对Java8 JRE进行编译时,会发生此问题.该Designer安装中的eclipse版本不知道如何解析Java8中的某些运行时jar文件.解决方法是针对Java6 JRE进行编译.作为SPR#BGLN9PXEVM的一部分,Domino Designer安装中进行了更改,以更改Designer中首选项的配置,使其指向Java6 JRE,而不是使用缺省JRE.如果存在安装问题,或者您手动修改了首选项,则可能需要按如下所示手动重新应用解决方法.

This problem occurs when Domino Designer 9.0.1 FP8 attempts to compile against a Java8 JRE. The version of eclipse in that Designer install does not know how to parse some of the runtime jar files in Java8. The workaround is to compile against a Java6 JRE instead. There were changes in the Domino Designer installation as part of SPR#BGLN9PXEVM to change the configuration of the preferences in Designer to point to a Java6 JRE instead of using the default JRE. If there was some install problem or you manually modified your preferences, you may need to manually re-apply the workaround as follows.

在Domino Designer中,菜单文件,首选项,Java,已安装的JRE. 应该列出2个JVM,其路径如下:

In Domino Designer, menu File, Preferences, Java, Installed JREs. There should be 2 listed JVMs with paths like so:

  • [x] JVM C:\ Notes \ jvm1.6 \
  • [] Notes 8.5.1 VM(已锁定)C:\ Notes \ jvm

如果名为"jvm"的条目错误地指向C:\ Notes \ jvm \文件夹而不是jvm1.6文件夹,那么您将需要对其进行编辑以指向jvm1.6文件夹.

If your entry named "jvm" is incorrectly pointing to the C:\Notes\jvm\ folder instead of the jvm1.6 folder, then you will need to edit it to point to the jvm1.6 folder instead.

在Domino Designer团队中,我们正在研究潜在地升级Designer中的Eclipse版本,以便有可能针对Java8 JRE进行编译.

On the Domino Designer team we are investigating potentially upgrading the eclipse version in Designer, so that it might be possible to compile against a Java8 JRE.

这篇关于Xpages无法加载,错误500; java.util无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆