diff --git a/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java b/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java index 1488d07d0..aaa55cef9 100644 --- a/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java +++ b/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/cdi/ComponentInjectionIT.java @@ -119,6 +119,10 @@ public static WebArchive createDeployment(String archive) { .addAsResource("META-INF/beans.xml") .addAsResource(new StringAsset("org.apache.shiro.cdi.ShiroSecurityExtension"), jakartify("META-INF/services/javax.enterprise.inject.spi.Extension")) + .addAsResource("META-INF/services/org.slf4j.spi.SLF4JServiceProvider") + .addAsWebInfResource(new StringAsset( + ""), + "payara-web.xml") .addPackages(true, "org.apache.shiro") .addPackages(true, "org.apache.commons") .deletePackages(true, "org.apache.shiro.testing")