Language: Java
JRE: jre1.8.0_144
IDE: Eclipse Oxygen Release (4.7.0)
Description: After I hit the "run" botton, the code did not compile and red text appear in the console.
Here is the code:
package chapter3.project2;
import java.util.*;
public class MetricConversion {
public static void main(String[] args) {
System.out.println("WTF Eclipse?");
}
}
error message:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at chapter3.project2.MetricConversion.main(MetricConversion.java:30)
It seems that no matter what I put in the main method, the error just kept popping up.
Thank you.