0

在将应用服务器从 Glassfish 更改为 JBoss 7.1 后,我正在尝试运行一些集成测试。但是无法部署。它抛出了这个错误,然后它就停止了。

20:35:31,252 INFO [org.jboss.as.server] (management-handler-thread - 9) JBAS015870:部署“9965db9f-a190-4bca-b7a9-c7df3ea6b1d7.war”的部署已回滚,并显示失败消息 {” JBAS014771:缺少/不可用依赖项的服务" => ["jboss.module.service.\"deployment.9965db9f-a190-4bca-b7a9-c7df3ea6b1d7.war\".mainjboss.module.spec.service.\"deployment.arquillian -service\".mainMissing[jboss.module.service.\"deployment.9965db9f-a190-4bca-b7a9-c7df3ea6b1d7.war\".mainjboss.module.spec.service.\"deployment.arquillian-service\".main ]"]}

这是我的POM:

    <!-- Arquillian dependencies -->
    <dependency>
        <groupId>org.jboss.arquillian.junit</groupId>
        <artifactId>arquillian-junit-container</artifactId>
        <version>1.0.2.Final</version>
        <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>org.jboss.as</groupId>
        <artifactId>jboss-as-arquillian-container-remote</artifactId>
        <version>7.1.2.Final</version>
        <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>org.jboss.shrinkwrap.resolver</groupId>
        <artifactId>shrinkwrap-resolver-depchain</artifactId>
        <version>2.0.0-alpha-3</version>
        <type>pom</type>
        <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>org.jboss.arquillian.extension</groupId>
        <artifactId>arquillian-persistence-impl</artifactId>
        <version>1.0.0.Alpha5</version>
        <scope>test</scope>
        <exclusions>
            <exclusion>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-jdk14</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
4

0 回答 0