JUnit version 3.8 or later expected
已回答
I can't run junit test. Please refer below log.
It's spring framework project using maven. It's not android proejct. please fix it asap. Thanks.
JUnit version 3.8 or later expected
java.lang.ClassNotFoundExceptiom:junit.framework.ComparisonFailure
请先登录再写评论。
Also Junit 4.12 have ComparisonFailure class
Do you really have a path with ":" on your system? You can't use the colon in Java paths because it's used as the classpath delimiter character.
Move your files/repository to some other location that will not contain a colon.
Java sees it as 2 different paths, a directory and a jar:
Therefore, the jar is not found in the classpath and you will not be able to run your app this way because all the jar dependencies will be missing.
Thank you. I really apprecatied. I fixed thanks to you.
I have the same problem after update IntelliJ to 2021.2 (no project changes). In my project I have the latest Spock version with Groovy 3 and Jupiter. How could update of an IDE have impact to test run?
Hello K Hanusova90,
If possible please create an issue at YouTrack (https://youtrack.jetbrains.com/issues/IDEA) and attach the sample project to reproduce the case to it. Thank you
Hello Olga, thank you for your reply. I have created issue https://youtrack.jetbrains.com/issue/IDEA-274801. I can send you whole project to mail if necessary, it couldn't be added to issue.
K Hanusova90,
Thank you, the problem is fixed, the fix will be available in 2021.2.1. Sorry for inconvenience.