title: The declared package test does not match the expected package
body: <p>So, I have this code:</p>
  
  <pre><code>package test;
  import test.Pi;
  public class Demo {
      public static int pi = 3;   
      public static void main (String args[]) {
          System.out.println("Hello!");
          Pi.main(args);
          System.out.println("Hello again!");
      }
  }
  </code></pre>
  
  <p>But eclipse keeps throwing up an error at the very first line, saying "The declared package test does not match the expected package".
  Any help apreciated! Thanks!</p>