Exception in thread "main" java.lang.NoSuchMethodError: main - how can I fix that?
<p>I am using Eclipse.  I deleted everything and left the main function - nothing is working.  Can somebody pls help?</p>

<pre><code>package good;

import java.io.*;

public class FiFo {     
    public static void main()
    {
        System.out.println("here");
    }
}    

class FileReader {
    public FileReader(String fileName)
    {
        try {
            FileInputStream fstream = new FileInputStream(fileName);
            // Get the object of DataInputStream
            DataInputStream in = new DataInputStream(fstream);
            BufferedReader br = new BufferedReader(new InputStreamReader(in));
        }
        catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
}
</code></pre>
