You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.debug("The classloader of the class we use for mapping is " + TestConfig.class.getClassLoader());
197
197
Stringmessage = isVSCode || isMaybeVSCode
198
198
? "Could not execute test class because it was loaded with the wrong classloader by the VS Code test runner. Try running test methods individually instead."
199
199
: isEclipse
200
200
? "Could not execute test class because it was loaded with the wrong classloader by the Eclipse test runner. Try running test methods individually, or edit the run configuration and add `-uniqueId [engine:junit-jupiter]/[class:"
201
201
+ context.getRequiredTestClass().getName()
202
202
+ "]` in the program arguments. "
203
-
: "Internal error: Test class was loaded with an unexpected classloader or the thread context classloader was incorrect.";
203
+
: "Internal error: Test class was loaded with an unexpected classloader ("
204
+
+ TestConfig.class.getClassLoader() + ") or the thread context classloader ("
205
+
+ Thread.currentThread().getContextClassLoader() + ") was incorrect.";
0 commit comments