title: TestNG in Eclipse, Reference to undefined variable env.DOMAIN_PATH
body: <p>I just got a error when I try to run a unit test in Eclipse with TestNG, the error message is: Reference to undefined variable env.DOMAIN_PATH</p>
  
  <p>but this problem does not exist when I run it in Intellj or with maven.</p>
  
  <p>any one experience this problem? </p>
  
  <p>I use Eclipse Mars.2 Release (4.5.2), and updated TestNG plugin version 6.9.12.201607091356</p>
  
  <p>thanks.</p>