3 Replies Latest reply on Apr 27, 2011 5:34 AM by yilin chai

    maven, hibernate, junit and CreateProcess error=87

    yilin chai Newbie

      did anybody meet this before? it looks so simple but i just can not get rid of it:


      the simplest junit:


      public void findOne() {




      the almost simplest POM:

















      the junit test even has nothing to do with the hibernate. but once i add the dependence and run as>junit test, i got this in eclipse:


      27-04-2011 4-16-16 PM.png


      but if i pom.xml>run as>maven test, everything is fine

      or if i remove the hibernate dependency, both "run as" are fine.


      how can this happen???