嗨,谁能帮助我配置JUNIT框架以进行测试?

发布于 2025-02-01 00:36:11 字数 232 浏览 5 评论 0原文

我已经下载了JAR文件,并将它们添加到项目库下的项目的构建路径中。但是,当我尝试运行代码时,它会给我一个错误消息:java.lang.noclassdeffounderror:org/junit/platform/exhument/emchent/configurationParameters,

我仅在模块路径中添加了junit,因为我无法将其添加到class路径中。当我将JUNIT5添加到类路径时,我不会激活应用按钮。它不会启用。

I have downloaded the JAR files and added them in the project's build path under libraries. However, when I try to run the code, it's giving me this error message: java.lang.NoClassDefFoundError: org/junit/platform/engine/ConfigurationParameters

I have added JUnit in module path only as I am unable to add it in class Path. When I add JUnit5 to class path, I don't get apply button activated. It doesn't get enabled.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文