I am using Scala Eclipse IDE and I get the following errors while running the code at: https://github.com/NetLogo/NetLogo/wiki/Controlling-API
I searched online. It seems that is caused by version 2.9.x is not comparable with 2.10.x? Do any other people get the same errors? If I remove the Scala library and use the library provided by Netlogo then the IDE would report errors. So I am really running into a bit problem that I can't solve the problem either way. Thanks very much! Robert ;) //--------the following is the error message ------ Exception in thread "main" java.lang.NoClassDefFoundError: scala/reflect/ClassManifest at org.nlogo.api.Version$.<init>(Version.scala:15) at org.nlogo.api.Version$.<clinit>(Version.scala) at org.nlogo.headless.HeadlessWorkspace$.newInstance( HeadlessWorkspace.scala:38) at org.nlogo.headless.HeadlessWorkspace$.newInstance( HeadlessWorkspace.scala:31) at Example2$.main(Example.scala:26) at Example2.main(Example.scala) Caused by: java.lang.ClassNotFoundException: scala.reflect.ClassManifest 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:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
