NetBeans 4.1 and projects with existing sources: NoSuchMethodError
I'm running NetBeans 4.1 with JDK 1.4.2_06 and I have a project that I've created with existing sources. I can compile everything without issues, however, when I try to run my file within the project for testing purposes, NetBeans recognizes that a main method exists, but I get the following error message:
java.lang.NoSuchMethodError: main
Exception in thread "main"
Java Result: 1
At this point, my class is just:
package nites.mda.configproperties;
public class Debuggable {
public static void main(String[] args) {
System.err.println("Main");
}
}
However, when I create a brand new Java project without existing sources, it will run perfectly fine. The class in this project is:
package test;
public class testClass {
public static void main(String[] args) {
System.err.println("Main");
}
}
Anyone ever come across this issue before?

