title: Application Batch File Throws AntMain Error When Executed
body: <p>I have an application that starts from IntelliJ with no problem but when I execute the start.bat from the command prompt, it throws the below message with no other information:</p>
  <pre><code>Error: org/apache/tools/ant/launch/AntMain
  </code></pre>
  <p><strong>What does this error mean?</strong> I found <a href="https://stackoverflow.com/q/19497182/1663215">this thread</a> but the error message is different from what I get.</p>
  <p><strong>Note:</strong> It is not an environment variable problem. The batch file was working perfectly until I have changed some of the dependencies. Nothing changed on the batch file, nothing changed in my environment, only some internal dependency updates. None of these dependencies are third party libraries and they have nothing to do with Ant. Please only focus on what this error indicates because I have already tried to locate which dependency change caused the problem. The application I am working on is commercial and unfortunately, I am not able to provide more details. Thanks in advance.</p>