Could not find the main class, program will exit
Hi everyone, I'm new to this forum and I hope I'm writing in the right board.
I'm working on eclipse 3.5.2 on a Ubuntu VM.
I've been debugging my program for a while now and never had any problem compiling, until yesterday when after just uncommenting a line i got this error while trying to compile:
Exception in thread "main" java.lang.NoClassDefFoundError: Huffman/Main
Caused by: java.lang.ClassNotFoundException: Huffman.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
Could not find the main class: Huffman.Main. Program will exit.
I undoed (oh dear.. it's a regular verb.. isn't it?) the typing thing but did anything.
Thanks a lot in advance for any help.