Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Arquillian在启动时在错误路径中搜索maven依赖项(真实的现有文件,但位于错误的文件夹位置)_Java_Maven_Integration Testing_Jboss Arquillian_Apache Tomee - Fatal编程技术网

Java Arquillian在启动时在错误路径中搜索maven依赖项(真实的现有文件,但位于错误的文件夹位置)

Java Arquillian在启动时在错误路径中搜索maven依赖项(真实的现有文件,但位于错误的文件夹位置),java,maven,integration-testing,jboss-arquillian,apache-tomee,Java,Maven,Integration Testing,Jboss Arquillian,Apache Tomee,我正在使用Arquillian为我的项目实施集成测试。 以下是我使用的依赖项: <dependency> <groupId>org.apache.tomee</groupId> <artifactId>arquillian-tomee-embedded</artifactId> <version>${tomee.version}</version>

我正在使用Arquillian为我的项目实施集成测试。 以下是我使用的依赖项:

    <dependency>
        <groupId>org.apache.tomee</groupId>
        <artifactId>arquillian-tomee-embedded</artifactId>
        <version>${tomee.version}</version>
        <scope>test</scope>
        <exclusions>
            <exclusion>
                <groupId>org.apache.tomee</groupId>
                <artifactId>javaee-api</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.jboss.shrinkwrap.resolver</groupId>
        <artifactId>shrinkwrap-resolver-depchain</artifactId>
        <version>3.1.3</version>
        <type>pom</type>
        <scope>test</scope>
    </dependency>
“commons-vfs2-2.0.jar”文件确实存在,但位于不同的文件夹位置:.m2\repository\org\apache\commons\commons-vfs2\2.0

类似地,“jsr-275-0.9.3.jar”文件确实存在,但位于不同的文件夹位置:.m2\repository\javax\measure\jsr-275\0.9.3

我收到了成百上千这样的警告

有人知道这是什么原因吗

谢谢

2020-04-01 14:37:17 WARNING org.apache.tomcat.util.scan.StandardJarScanner scan Failed to scan [file:/C:/Users/***/.m2/repository/com/github/junrar/junrar/0.7/commons-vfs2-2.0.jar] from classloader hierarchy
java.io.FileNotFoundException: C:\Users\***\.m2\repository\com\github\junrar\junrar\0.7\commons-vfs2-2.0.jar (The system cannot find the file specified)
2020-04-01 14:37:17 WARNING org.apache.tomcat.util.scan.StandardJarScanner scan Failed to scan [file:/C:/Users/***/.m2/repository/org/apache/sis/core/sis-referencing/0.6/jsr-275-0.9.3.jar] from classloader hierarchy
java.io.FileNotFoundException: C:\Users\***\.m2\repository\org\apache\sis\core\sis-referencing\0.6\jsr-275-0.9.3.jar (The system cannot find the file specified)