Note that there are some explanatory texts on larger screens.

plurals
  1. POIntellij suddenly throwing ClassNotFoundException
    text
    copied!<p>I'm at a complete loss here. I have a project on an external hard drive called LenseProject. Inside LenseProject, I have <code>.idea</code>, <code>lib</code>, <code>Natives</code> and <code>SRC</code> folders. I also have a number of text files for reading.</p> <p>When I left work last night, this all worked fine. Coming in this morning, I'm met with:</p> <pre><code>Exception in thread "main" java.lang.ClassNotFoundException: QuadTest at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:113) </code></pre> <p>QuadTest being the main class. </p> <p>Information that I think might be helpful:</p> <ul> <li><p>If I comment out the imports, I get the appropriate error messages. (Cannot find symbol, etc).</p></li> <li><p>I have 9 dependencies, located in lib\lwjgl-2.9.0\jar that are set up in Project Structure -> Libraries.</p></li> <li><p>The module has LenseProject as the content root, and SRC as the source folder.</p></li> <li><p>The language level is 7.0</p></li> <li><p>I have the dependencies set to export in Project Structure -> Modules -> Dependencies.</p></li> <li><p>In Compiler Output, I have it set to Use Module Compile Output Path, as Inherit Project Compile Output Path gave me "Cannot start compilation: The output path is not specified for module "LenseProject". Specify the output path in Configure Project.</p></li> <li><p>I have VM option <code>-Djava.library.path=Natives</code>. </p></li> <li><p>I can compile and run the program through command prompt no problem.</p></li> <li><p>I was missing my configure options when I started it up this morning. I had to set the SDK again, and libraries.</p></li> </ul>
 

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