title: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project myserver
body: <p>This is my pom.xml file,</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;neo4j.embedded.myserver&lt;/groupId&gt;
  &lt;artifactId&gt;myserver&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;properties&gt;
  &lt;java.version&gt;1.7&lt;/java.version&gt;
  &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;
  &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;
  &lt;/properties&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;myserver&lt;/name&gt;
  &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.neo4j&lt;/groupId&gt;
          &lt;artifactId&gt;neo4j&lt;/artifactId&gt;
          &lt;version&gt;2.2.4&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
          &lt;version&gt;1.8&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.core&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
          &lt;version&gt;2.13&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.neo4j&lt;/groupId&gt;
          &lt;artifactId&gt;neo4j-kernel&lt;/artifactId&gt;
          &lt;version&gt;2.2.4&lt;/version&gt;
          &lt;type&gt;test-jar&lt;/type&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.11&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
          &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
          &lt;version&gt;1.3&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;  
      &lt;dependency&gt;
          &lt;groupId&gt;com.graphaware.neo4j&lt;/groupId&gt;
          &lt;artifactId&gt;tests&lt;/artifactId&gt;
          &lt;version&gt;2.1.5.25&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.assertj&lt;/groupId&gt;
          &lt;artifactId&gt;assertj-neo4j&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.json&lt;/groupId&gt;
          &lt;artifactId&gt;json&lt;/artifactId&gt;
          &lt;version&gt;20140107&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>And I use eclipse , use run as→maven build , this is my error information,</p>
  
  <blockquote>
    <p>Results :</p>
    
    <p>Tests in error: 
       nodeCreationWithLabel(neo4j.tests.Neo4jTest): org/neo4j/kernel/impl/util/function/Optionals$LazyOptional
       nodeCreationWithLabel(neo4j.tests.Neo4jTest)
       compareProperties(neo4j.tests.Neo4jTest): org/neo4j/kernel/impl/cache/HPCSettingFunctions$4
       compareProperties(neo4j.tests.Neo4jTest)
       compareNeo4jDatabase(neo4j.tests.Neo4jTest): org/neo4j/kernel/impl/cache/HPCSettingFunctions$4
       compareNeo4jDatabase(neo4j.tests.Neo4jTest)</p>
    
    <p>Tests run: 6, Failures: 0, Errors: 6, Skipped: 0</p>
    
    <p>[INFO] ------------------------------------------------------------------------</p>
    
    <p>[INFO] BUILD FAILURE</p>
    
    <p>[INFO] ------------------------------------------------------------------------</p>
    
    <p>[INFO] Total time: 2.838 s</p>
    
    <p>[INFO] Finished at: 2015-10-28T16:14:21+08:00</p>
    
    <p>[INFO] Final Memory: 11M/28M</p>
    
    <p>[INFO] ------------------------------------------------------------------------</p>
    
    <p>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project myserver: There are test failures.</p>
    
    <p>[ERROR] </p>
    
    <p>[ERROR] Please refer to D:\Eclipse\workspace\MyNeo4jSamples\target\surefire-reports for the individual test results.</p>
    
    <p>[ERROR] -> [Help 1]</p>
    
    <p>[ERROR] </p>
    
    <p>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</p>
    
    <p>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</p>
    
    <p>[ERROR] </p>
    
    <p>[ERROR] For more information about the errors and possible solutions, please read the following articles:</p>
    
    <p>[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" rel="nofollow">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a></p>
  </blockquote>