I am writing a simple Java test using JUnit and constantly get the following error: Class not found: "md.leonis.ServiceMagi?Test"
. I don't see any stacktrace.
Recommendations for this ticket did not help: Class Not Found Exception when running JUnit test
I invalidated the InteliJ Idea cache, recompiled the project, with no result. Example class:
public class ServiceMagiсTest {
@Test
public void test() {
assertTrue(true);
}
}
Who faced this before?