bug记录-(default-test) on project clientB: There are test failures.

2021-09-25

故事

emmmmmmmmm,实在时无聊,也是不知干啥了,突然运行以前的demo出现了一个bug,记录一下吧,也不算bug,项目能够正常运行,emmmm,强迫症的我
报错如下

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project clientB: There are test failures.

Please refer to D:\Desktop\study-demo\demo-feign\clientB\target\surefire-reports for the individual test results.

在这里插入图片描述

		<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.12.4</version>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.12.4</version>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
...
...

直接添加对应的包就对了


标题:bug记录-(default-test) on project clientB: There are test failures.
作者:sirwsl
地址:https://www.wslhome.top/articles/2021/09/25/1632582673007.html