Exception in thread "main" java.lang.NoSuchMethodError: main - how can I fix that?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5407250/causes-of-java-lang-nosuchmethoderror-main-exception-in-thread-main">Causes of &#39;java.lang.NoSuchMethodError: main Exception in thread &ldquo;main&rdquo;&#39;</a>  </p>
</blockquote>



<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>
