使用 Jacoco 的非法类格式异常 | Springboot - GraphQL

问题描述

我正在开发一个 Springboot 项目并使用 GraphQL 来公开端点。 对于代码覆盖率,我尝试使用 Jacoco Maven 依赖项,但在执行 "mvn test" 时遇到异常。

  • JDK 11

  • 雅可可 0.8.5

      <plugin><groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
           <version>0.8.5</version>
               <executions>
                 <execution>
                     <goals>
                        <goal>prepare-agent</goal>
                      </goals>
                  </execution>
                  <execution>
                      <id>report</id>
                      <phase>prepare-package</phase>
                      <goals><goal>report</goal></goals>
                  </execution>
                 </executions>
       </plugin>
    

我附上了截图。我检查了多个链接,但没有任何帮助。 (可以在 Link 上找到完整的 Stacktrace)

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)