diff --git a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestSupport.java b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestSupport.java index bbbf37d8acbb09..1e65b09d078233 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestSupport.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestSupport.java @@ -129,7 +129,7 @@ public void init() { .setAssertionsEnabled(true) .setDisableClasspathCache(false) .setIsolateDeployment(true) - .setBaseClassLoader(getClass().getClassLoader()) + .setBaseClassLoader(getClass().getClassLoader().getParent()) .setTest(true) .setAuxiliaryApplication(true) .setHostApplicationIsTestOnly(devModeType == DevModeType.TEST_ONLY)