We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jdk 18情况下,下载此工程,然后执行mvnw.cmd package 发现测试失败报错。
报错:
Jacoco java.lang.instrument.IllegalClassFormatException: Error while instrumenting Class
我的解决方法是升级jacoco到0.8.8即可。
接下来另外一个错误是测试用例PaymentResourceTest.updatePaymentState 失败,我暂时标注掉它解决
然后,ProdcutResourceTest.updateAndQueryStockpile失败,我暂时标注掉它解决
java.exe -version openjdk version "18.0.1" 2022-04-19 OpenJDK Runtime Environment (build 18.0.1+10-24) OpenJDK 64-Bit Server VM (build 18.0.1+10-24, mixed mode, sharing)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
jdk 18情况下,下载此工程,然后执行mvnw.cmd package 发现测试失败报错。
报错:
Jacoco java.lang.instrument.IllegalClassFormatException: Error while instrumenting Class
我的解决方法是升级jacoco到0.8.8即可。
接下来另外一个错误是测试用例PaymentResourceTest.updatePaymentState 失败,我暂时标注掉它解决
然后,ProdcutResourceTest.updateAndQueryStockpile失败,我暂时标注掉它解决
在Eclipse内没有这些问题。
java.exe -version
openjdk version "18.0.1" 2022-04-19
OpenJDK Runtime Environment (build 18.0.1+10-24)
OpenJDK 64-Bit Server VM (build 18.0.1+10-24, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: