title: Java Compiler Issue: cannot find symbol
body: <p>I am trying to format a String into a date but getting java compiler error: </p>
  
  <p>The fragment of code is:</p>
  
  <pre><code>String value = String.valueOf(entry.getValue());
  SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH);
  //String dateInString = value;
  SimpleDateFormat parse = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.ENGLISH);
  if (isFirst){
     Date date = parse.parse(value);
     //Then I'll just put the date variable into a cell in the html table. 
  </code></pre>
  
  <p>The error I am getting: </p>
  
  <p><strong>cannot find symbol</strong></p>
  
  <pre><code> [javac] symbol  : constructor SimpleDateFormat(java.lang.String,java.util.Locale)
       [javac] location: class com.lb.base.util.extra.SimpleDateFormat
       [javac]                             SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH);
       [javac]                                                          ^
  </code></pre>
  
  <p>I get this for both times I am declaring new SimpleDateFormat. I have checked that import is not the issue. Quite confused to what it is then..why am I getting this 'cannot find symbol' error?</p>