title: ANTLR - test class not found error when debugging
body: <p>I am getting error of Test class not found error, even when I have made it via command </p>
  
  <blockquote>
    <p>java org.antlr.Tool something.g</p>
  </blockquote>
  
  <p>when debugging via ANTLRworks. I have been searching this on the web, but no success with it. Do you know, how to solve my problem?</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit - grammar:</strong></p>
  
  <pre><code>grammar Expr;
  
  prog    :   stat+ ;
  
  stat    :   expr NEWLINE
      |   ID '=' expr NEWLINE
      |   NEWLINE
      ;
  
      expr    : multExpr (('+' |'-' ) multExpr)*;
  
      multExpr: atom ('*' atom)*
          ;
  
      atom    : INT
          | ID
          | '(' expr ')'
          ;
  
      ID : ('a'..'z' |'A'..'Z' )+ ;
      INT : '0'..'9' + ;
      NEWLINE:'\r' ? '\n' ;
      WS : (' ' |'\t' |'\n' |'\r' )+ {skip();} ;
  </code></pre>
  
  <p><strong>Error message:</strong></p>
  
  <p>When debugging with imput text 3*4 makes output - "Error: Could not find or load main class <strong>Test</strong>" While, <strong>Test</strong> is generated in subfolder /output...</p>