title: GWT - did you forget to inherit a required module?
body: <p>In my <strong>GWT application</strong>, on the client side Java file, I have written a line to print the Locale:</p>
  
  <pre><code>System.out.println(Locale.getDefault());
  </code></pre>
  
  <p>Here Locale is an instance of java.util.Locale.</p>
  
  <p>I'm getting an exception:  <code>09:31:53.656 [ERROR] [stockwatcher] Line 167 No source code is available for type java.util.Locale; did you forget to inherit a required module?</code></p>
  
  <p>Surprisingly, in this class I've also used <code>java.util.ArrayList</code> and <code>java.util.Date</code> but I did not get any exception for those classes. </p>
  
  <p>What am i doing wrong here?</p>