Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It is important to keep two or three different exceptions strait in our head in this case:</p> <ol> <li><p><strong><code>java.lang.ClassNotFoundException</code></strong> This exception indicates that the class was not found on the classpath. This indicates that we were trying to load the class definition, and the class did not exist on the classpath.</p></li> <li><p><strong><code>java.lang.NoClassDefFoundError</code></strong> This exception indicates that the JVM looked in its internal class definition data structure for the definition of a class and did not find it. This is different than saying that it could not be loaded from the classpath. Usually this indicates that we previously attempted to load a class from the classpath, but it failed for some reason - now we're trying again, but we're not even going to try to load it, because we failed loading it earlier. The earlier failure could be a ClassNotFoundException or an ExceptionInInitializerError (indicating a failure in the static initialization block) or any number of other problems. The point is, a NoClassDefFoundError is not necessarily a classpath problem.</p></li> </ol> <p>That being said, another answer poster indicates that the RandomGUID requires a call to InetAddress.getLocalHost(). On many operating systems, this would trigger a host lookup that would use the hosts file (<code>/etc/hosts</code> on *NIX systems, <code>%WINDOWS%/system32/drivers/etc/HOSTS</code> on a Windows system.) </p> <p>I have seen similar errors quite frequently when that file incorrectly defines the localhost address. <code>127.0.0.1</code> should point to 'localhost' (and probably also <code>localhost.localdomain</code>.) It should <strong>NOT</strong> point to the actual host name of the machine (although for some reason, many older RedHat Linux installers liked to set it incorrectly.)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload