Xpages cannot load, error 500; java.util cannot be resolved

I recently moved several applications to a server running Domino 9.0.1FP8 (JVM version: JRE 1.8.0 Windows Server 2008 R2 amd64-64). Since I did this, I have not been able to download any but the simplest of the Xpages. I am getting a page "Error 500 HTTP Server: Exception from Command Handler".

Via ... IBM \ Domino \ data \ IBM_TECHNICAL_SUPPORT \ xpages_exec I am getting Exceptions like:

  • The java.util.Comparator type could not be resolved. This indirectly refers to the required .class files.
  • The java.util.Map $ Entry type could not be resolved. This indirectly refers to the required .class files.
  • Importing java.util.Arrays is not possible.

I also get the following errors in the Problems tab in Designer:

  • "The project was not built because its build path is incomplete. Find the class file for java.util.Comparator. Correct the build path, then try building this project."
  • "The type java.util.Comparator cannot be resolved. It is indirectly referenced from the required .class files."

Is there any reason java.util doesn't work in Java 1.8? Is there anything I can do? Thanks for any help.

Dan

+3


source to share


2 answers


This issue occurs when Domino Designer 9.0.1 FP8 tries to compile the Java JRE. The eclipse version in this installation of Designer doesn't know how to parse some runtime jar files in Java8. The workaround is to compile the Java6 JRE instead. Changes were made to the Domino Designer installation as part of SPR # BGLN9PXEVM to change the configuration settings in Designer to point to the J6 Java JRE instead of using the default JRE. If there is any problem with the installation, or you manually changed your settings, you may need to manually reapply the workaround as follows.

In Domino Designer, menu File, Preferences, Java, Installed JRE. There should be 2 specified JVMs specified with paths like this:

  • [x] jvm C: \ Notes \ jvm1.6 \
  • [] Notes 8.5.1 VM (locked) C: \ Notes \ jvm


If your entry named "jvm" does not correctly point to the C: \ Notes \ jvm \ folder instead of the jvm1.6 folder, you will need to edit it to point to the jvm1.6 folder instead.

As part of the Domino Designer team, we are investigating a potential upgrade to the Designer version of eclipse so that it can be compiled with the Java8 JRE.

+8


source


It looks like the installer did not install successfully. There is no reason why packages java.util

should fail. I would recommend running the installer again, making sure all services are stopped before starting it. This ensures that anything that needs to be replaced is not blocked by another process.



+1


source







All Articles