title: The declared package does not match the expected package ""
body: <p>I am using Eclipse and have not used Java for sometime. However, I can compile my code on the command-line just fine and generate the necessary <code>.class</code> files. In Eclipse, it complains that <code>The declared package "Devices" does not match the expected package ""</code>. What does this mean and how can I fix it? </p>
  
  <p>Sample code:</p>
  
  <pre><code>package Devices;
  
  public final class DevFrequency 
  {
      public short messageID;
      public double frequency;
      public short converterID;
      public DevFrequency() 
      {
      }
      public DevFrequency(short _messageID,double _frequency,short _converterID)
      {
          messageID = _messageID;
          frequency = _frequency;
          converterID = _converterID;
      }
  }
  </code></pre>
  
  <p>The name of my project is <code>DeviceDDS</code>.</p>