Intellij未检测到最新的依赖性
我正在使用MVN test -dtest = MessageListenerApptest
运行测试文件,并且运行良好。
但是,当我打开MessagelistenerApptest.java文件并在Intellij中右键单击时。
我得到了java.lang.noclassdeffounderror:org/junit/jupiter/api/extension/scriptevaluationException
我尝试重新启动Intellij,使caches无效,但仍然存在相同的错误。
这样做的原因是什么?
I am running a test file using mvn test -Dtest=MessageListenerAppTest
, and it's running fine.
But when I open the MessageListenerAppTest.java file and right-click on it in Intellij.
I get a java.lang.NoClassDefFoundError: org/junit/jupiter/api/extension/ScriptEvaluationException
I tried restarting Intellij, invalidating caches, but still the same error.
What could be the reason for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论