简体   繁体   English

无法在项目myserver上执行目标org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test(默认测试)

[英]Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project myserver

This is my pom.xml file, 这是我的pom.xml文件,

<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">
<modelVersion>4.0.0</modelVersion>
<groupId>neo4j.embedded.myserver</groupId>
<artifactId>myserver</artifactId>
<packaging>jar</packaging>
<properties>
<java.version>1.7</java.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<version>1.0-SNAPSHOT</version>
<name>myserver</name>
<url>http://maven.apache.org</url>
<dependencies>
    <dependency>
        <groupId>org.neo4j</groupId>
        <artifactId>neo4j</artifactId>
        <version>2.2.4</version>
    </dependency>
    <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-client</artifactId>
        <version>1.8</version>
    </dependency>
    <dependency>
        <groupId>org.glassfish.jersey.core</groupId>
        <artifactId>jersey-client</artifactId>
        <version>2.13</version>
    </dependency>
    <dependency>
        <groupId>org.neo4j</groupId>
        <artifactId>neo4j-kernel</artifactId>
        <version>2.2.4</version>
        <type>test-jar</type>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.11</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-all</artifactId>
        <version>1.3</version>
        <scope>test</scope>
    </dependency>  
    <dependency>
        <groupId>com.graphaware.neo4j</groupId>
        <artifactId>tests</artifactId>
        <version>2.1.5.25</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.assertj</groupId>
        <artifactId>assertj-neo4j</artifactId>
        <version>1.0.0</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.json</groupId>
        <artifactId>json</artifactId>
        <version>20140107</version>
    </dependency>
</dependencies>
</project>

And I use eclipse , use run as→maven build , this is my error information, 我使用eclipse,使用run as→maven build,这是我的错误信息,

Results : 结果:

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) 错误的测试:nodeCreationWithLabel(neo4j.tests.Neo4jTest):org / neo4j / kernel / impl / util / function / Optionals $ LazyOptional nodeCreationWithLabel(neo4j.tests.Neo4jTest)compareProperties(neo4j.tests.Neo4jTest):org / nenel / impl / cache / HPCSettingFunctions $ 4 compareProperties(neo4j.tests.Neo4jTest)compareNeo4jDatabase(neo4j.tests.Neo4jTest):org / neo4j / kernel / impl / cache / HPCSettingFunctions $ 4 compareNeo4jDatabase(neo4j.tests。

Tests run: 6, Failures: 0, Errors: 6, Skipped: 0 测试运行:6,失败:0,错误:6,跳过:0

[INFO] ------------------------------------------------------------------------ [INFO] ----------------------------------------------- -------------------------

[INFO] BUILD FAILURE [INFO]建立失败

[INFO] ------------------------------------------------------------------------ [INFO] ----------------------------------------------- -------------------------

[INFO] Total time: 2.838 s [INFO]总时间:2.838 s

[INFO] Finished at: 2015-10-28T16:14:21+08:00 [INFO]完成于:2015-10-28T16:14:21 + 08:00

[INFO] Final Memory: 11M/28M [INFO]最终记忆:11M / 28M

[INFO] ------------------------------------------------------------------------ [INFO] ----------------------------------------------- -------------------------

[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. [错误]无法在项目myserver上执行目标org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test(默认测试):存在测试失败。

[ERROR] [错误]

[ERROR] Please refer to D:\\Eclipse\\workspace\\MyNeo4jSamples\\target\\surefire-reports for the individual test results. [错误]有关单个测试结果,请参考D:\\ Eclipse \\ workspace \\ MyNeo4jSamples \\ target \\ surefire-reports。

[ERROR] -> [Help 1] [错误]-> [帮助1]

[ERROR] [错误]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。

[ERROR] Re-run Maven using the -X switch to enable full debug logging. [错误]使用-X开关重新运行Maven以启用完整的调试日志记录。

[ERROR] [错误]

[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR]有关错误和可能的解决方案的详细信息,请阅读以下文章:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

You are using Neo4j and GraphAware framework. 您正在使用Neo4j和GraphAware框架。

GraphAware framework version is coupled with Neo4j version. GraphAware框架版本与Neo4j版本结合在一起。

Neo4j - 2.2.4 Neo4j-2.2.4
GraphAware Framework - 2.1.5.25 (here is the problem) GraphAware Framework-2.1.5.25(这是问题)

You should use version 2.2.4.34 of GraphAware Framework. 您应该使用GraphAware Framework的2.2.4.34版本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法执行目标org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test(default-test) - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) 问题是使用测试 maven,显示此错误 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) - Issue is using test maven, this error is displayed Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) 未能在项目上执行目标 org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project 无法在项目上执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project 无法执行目标 org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) Intellij - 无法在项目 *** 上执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test):有测试失败 - Intellij - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project *** : There are test failures 无法在项目marytts-lang-en上执行目标org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test(默认测试):存在测试失败 - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project marytts-lang-en: There are test failures 无法执行目标org.apache.maven.plugins:maven-surefire-plugin:2.4.3:项目smrr上的test(default-test):测试失败 - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project smrr: There are test failures 无法在项目测试中执行目标 org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test):未执行任何测试 - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project testing: No tests were executed 目标 org.apache.maven.plugins:maven-surefire-plugin:2.17:test 的执行默认测试失败:分叉过程中出现错误 - Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: There was an error in the forked process
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM