java - ClassNotFoundException: HelloStageDemo -


The code I am running from the code is from the homepage. There are no compiler warnings, but when it runs, I get an exception. I tried to use JDK 1.7 with Scalay 2.11 and Scalax 2.9.3-2.2.67 and received the same error. I still meet with Scala 2.11 and Scalax 2.11-8.0.20-R6 with JDK 1.8. I'm hoping that I'm stupid missing something simple: all that is written in the console:

  "c: \ program files (x86) \ java \ jdk1.8.0_20 \ bin \ Java "-Didea.launcher.port = 7532" -Didea.launcher.bin.path = C: \ Program Files (x86) \ JetBrains \ IntelliJ IDEA Community Edition 13.1.4 \ bin "-Dfile.encoding = UTF-8- Classpath "C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ charsets.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ deploy.jar; C: \ Program Files (x86) \ Java \ Jdk1.8.0_20 \ jre \ lib \ javaws.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ jce.jar; C: \ Program Files (x86) \ Java \ jdk1 8.0_20 \ jre \ lib \ jfr.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ jfxswt.jar; C: \ Program Files (X 86) \ Java \ jdk1.8.0_20 \ Jre \ lib \ jsse.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ management-agent.jar; C: \ Program Files ( X86) \ Java \ jdk1.8.0_20 \ Jre \ lib \ plugin.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ resources.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ Lib \ rt.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ access-bridge-32.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ cldrdata.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ dnsns jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ jaccess.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ Jfxrt.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ localedata.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ c: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ c: \ Program Files (x86) \ Java \ jdk1 .8.0_20 \ jre \ lib \ ext \ sunec.jar; C: \ Program Files (x86) C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ c: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ sunmscapi.jar ; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ Jre \ lib \ ext \ sunpkcs11.jar; C: \ Program Files (x86) \ Java \ jdk1.8.0_20 \ jre \ lib \ ext \ zipfs.jar; C: \ Program Files (x86) \ scala \ lib \ scala-catter-2.11.0.jar; C: \ Program Files (x86) \ Scala \ lib \ scala-swing_2.11-1.0.1.jar; C: \ Program Files (x86) \ Scala \ lib \ scala-library .jar; C: \ Users \ bhoeppner \ Downloads \ ScalaFX 8 \ scalafx_2.11-8.0.20-R6.jar; C: \ Users \ bhoeppner \ Downloads \ ScalaFX 8 \ scalafx_2.11-8 0.20-R6-javadoc.jar; C: \ Users \ bhoeppner \ Downloads \ ScalaFX 8 \ scalafx_2.11-8.0.20-R6-sources.jar; C: \ Program Files (x86) \ JetBrains \ IntelliJ IDEA Community Edition 13.1 .4 \ lib \ idea_rt.jar "com.intellij.rt.execution.application.AppMain HelloStageDemo exception thread" main "java.lang.ClassNotFoundException: HelloStageDemo Java.net.URLClassLoader $ 1.run (URLClassLoader.java:372) java.net.URLClassLoader $ 1.run at java.net.URLClassLoader.findClass (URLClassLoader.java:360) on Java.lang.ClassLoader (URLClassLoader.java : 361) at java.security.AccessController.Drivileged (original method) at Java.lang.Class.forName0 at java.lang.ClassLoader.loadClass (ClassLoader.java357) at sun.misc.Launcher $ AppClassLoader.loadClass ( Launcher.java.308) Load class (Classloader.javask 24) (Basic method) java.lang.Class.forName (class.javaociety59) com.intellij.rt.execution.application.AppMain Process with exit code (AppMain.java:116) on .main (1)    

MarsAtomic and Hot Licks were right. In this way I got to do this work:

The file with the halostadem was dragged to the src folder, which was already marked as the root of the sources.

  • Right-clicked node on the project and selected "Open Module Settings."
  • Clicked on the "Dependencies" tab.
  • Clicked on the green plus sign and pressed pressed for "jar or directory ..."
  • My scala \ lib folder has module dependency at the same time Added

    Thank you for direct operation!

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -