Search code examples
ruby-on-railsnetbeans6.7

Running Rails Application on netbeans 6.7 error


i was upgrading my Netbeans 6.5 to Netbeans 6.7

and i open my rails application which built on Netbeans 6.5

and i run but it doesnt working , said :

java.lang.NoClassDefFoundError: org/jruby/Main Caused by: java.lang.ClassNotFoundException: org.jruby.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: org.jruby.Main. Program will exit. Exception in thread "main"

what heppened??

and also i cant make new project rails with netbeans 6.7


Solution

  • You need to go into the plugins panel (menu is tools:plugins) and install the ruby plugin.