title: Using mvnDebug crashes with 'Cannot load this JVM TI agent twice error'
body: <p>I was building a simple project, a hello world example with teserract [1]. This worked fine in the Linux environment and when i tried it in the Mac it failed. So i wanted to debug the build process and see what's wrong. So i used,</p>
  
  <pre><code>mvnDebug clean install 
  </code></pre>
  
  <p>but im getting this error immediately after running this,</p>
  
  <pre><code>ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
  Error occurred during initialization of VM
  agent library failed to init: jdwp
  </code></pre>
  
  <p>Im using java 1.8. So what does this error means ?</p>
  
  <p>[1] - <a href="https://github.com/nirojans/receipt-ocr" rel="nofollow noreferrer">https://github.com/nirojans/receipt-ocr</a></p>