title: Antlr Time-out waiting to connect to the remote parser
body: <p>I am using the newest ANTLR.                                                                                                                                                                                            I get this error message while trying to debug this grammar:</p>
  
  <pre><code>grammar Grammar;
  
  options {   language = Java;
  }
  
  @header {
  package parser;
  import java.util.HashMap;
  import viewmodel.*;
  import java.util.List;
  }
  
  @members {
  /** Map variable name to Integer object holding value */
  HashMap memory = new HashMap();
  }
  
  prog returns [DiagramNode node]
      :   clas 
          {$node = $clas.node;}
      ;
  
  clas returns [DiagramNode node]
      :VISIBILITY* CLASSORINTERFACE name=NAME '{' classDef '}' NEWLINE
          {$node = $classDef.node;
          $node.setName(name.getText());
          }
      ;
  
  classDef returns [DiagramNode node]
      :{$node = new DiagramNode();    }
      fieldDef ';' NEWLINE?
          {$node.getFields().add($fieldDef.field);}
      ;
  
  fieldDef returns [DiagramField field]
      :{$field = new DiagramField();}
      type=NAME name=NAME ';' NEWLINE? 
          {$field.setType(type.getText());
          $field.setName(name.getText());
          }
      ;
  
  
  VISIBILITY 
      :   ('public' | 'private' | 'protected');
  CLASSORINTERFACE
      :   ('class' | 'inerface');
  NAME
      :   ('a'..'z'|'A'..'Z') ('a'..'z'|'A'..'Z'|'0'..'9') *;
  INT :   '0'..'9'+ ;
  NEWLINE:'\r'? '\n' {skip();};
  WS  :   (' '|'\t')+ {skip();} ;
  </code></pre>
  
  <p>The input is:</p>
  
  <pre><code>class Abc {
      Type1 Name1;
      Type2 Name2;
  }
  </code></pre>
  
  <p>I am assuming that it's grammar's fault, cause another one was compiling and working fine. Could you point me possible errors?</p>