title: WildFly can't find beans.xml in the Arquillian Assembly
body: <p>Hi I'm studying Arquillian there is one pom.xml:</p>
  <pre><code>&lt;packaging&gt;war&lt;/packaging&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;maven.compiler.target&gt;11&lt;/maven.compiler.target&gt;
          &lt;maven.compiler.source&gt;11&lt;/maven.compiler.source&gt;
  
          &lt;!-- Jakarta EE API --&gt;
          &lt;jakartaee-api.version&gt;9.0.0-RC1&lt;/jakartaee-api.version&gt;
          &lt;!-- Arquillian BOM --&gt;
          &lt;arquillian-bom.version&gt;1.6.0.Final&lt;/arquillian-bom.version&gt;
          &lt;!-- JUnit4 --&gt;
          &lt;junit.version&gt;4.13&lt;/junit.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencyManagement&gt;
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;jakarta.platform&lt;/groupId&gt;
                  &lt;artifactId&gt;jakarta.jakartaee-api&lt;/artifactId&gt;
                  &lt;version&gt;${jakartaee-api.version}&lt;/version&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.jboss.arquillian&lt;/groupId&gt;
                  &lt;artifactId&gt;arquillian-bom&lt;/artifactId&gt;
                  &lt;version&gt;${arquillian-bom.version}&lt;/version&gt;
                  &lt;scope&gt;import&lt;/scope&gt;
                  &lt;type&gt;pom&lt;/type&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;junit&lt;/groupId&gt;
                  &lt;artifactId&gt;junit&lt;/artifactId&gt;
                  &lt;version&gt;${junit.version}&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
      &lt;/dependencyManagement&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;jakarta.platform&lt;/groupId&gt;
              &lt;artifactId&gt;jakarta.jakartaee-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.arquillian.junit&lt;/groupId&gt;
              &lt;artifactId&gt;arquillian-junit-container&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;profiles&gt;
          &lt;profile&gt;
              &lt;id&gt;arq-wildfly-remote&lt;/id&gt;
              &lt;properties&gt;
                  &lt;skipTests&gt;false&lt;/skipTests&gt;
              &lt;/properties&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.wildfly.arquillian&lt;/groupId&gt;
                      &lt;artifactId&gt;wildfly-arquillian-container-remote&lt;/artifactId&gt;
                      &lt;version&gt;3.0.1.Final&lt;/version&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;build&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
                          &lt;version&gt;3.0.0-M5&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;systemPropertyVariables&gt;
                                  &lt;arquillian.launch&gt;wildfly-remote&lt;/arquillian.launch&gt;
                                  &lt;java.util.logging.manager&gt;org.jboss.logmanager.LogManager&lt;/java.util.logging.manager&gt;
                              &lt;/systemPropertyVariables&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
      &lt;/profiles&gt;
  
      &lt;build&gt;
          &lt;finalName&gt;${project.artifactId}&lt;/finalName&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.3.0&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.8.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;${maven.compiler.source}&lt;/source&gt;
                      &lt;target&gt;${maven.compiler.target}&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0.0-M5&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;skipITs&gt;${skipTests}&lt;/skipITs&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;integration-test&lt;/phase&gt;
                          &lt;id&gt;integration-test&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;integration-test&lt;/goal&gt;
                              &lt;goal&gt;verify&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;trimStackTrace&gt;false&lt;/trimStackTrace&gt;
                              &lt;includes&gt;
                                  &lt;include&gt;**/it/**&lt;/include&gt;
                              &lt;/includes&gt;
                              &lt;reportsDirectory&gt;
                                  ${project.build.directory}/test-reports/it
                              &lt;/reportsDirectory&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  <p>File arquillian.xml:</p>
  <pre><code>&lt;arquillian
      xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
      xmlns=&quot;http://jboss.org/schema/arquillian&quot;
      xsi:schemaLocation=&quot;http://jboss.org/schema/arquillian
      http://jboss.org/schema/arquillian/arquillian_1_0.xsd&quot;&gt;
      &lt;defaultProtocol type=&quot;Servlet 3.0&quot; /&gt;
  
      &lt;engine&gt;
          &lt;property name=&quot;deploymentExportPath&quot;&gt;target/&lt;/property&gt;
      &lt;/engine&gt;
  
      &lt;container qualifier=&quot;wildfly-remote&quot; default=&quot;true&quot;&gt;
          &lt;configuration&gt;
              &lt;property name=&quot;managementAddress&quot;&gt;127.0.0.1&lt;/property&gt;
              &lt;property name=&quot;managementPort&quot;&gt;9990&lt;/property&gt;
              &lt;property name=&quot;protocol&quot;&gt;http&lt;/property&gt;
              &lt;property name=&quot;username&quot;&gt;admin&lt;/property&gt;
              &lt;property name=&quot;password&quot;&gt;admin&lt;/property&gt;
          &lt;/configuration&gt;
      &lt;/container&gt;
  
  &lt;/arquillian&gt;
  </code></pre>
  <p>File beans.xml:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;beans xmlns=&quot;http://xmlns.jcp.org/xml/ns/javaee&quot;
         xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
         xsi:schemaLocation=&quot;http://xmlns.jcp.org/xml/ns/javaee
                        http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd&quot;
         bean-discovery-mode=&quot;all&quot;&gt;
  &lt;/beans&gt;
  </code></pre>
  <p>I made a simple class to test how @Inject works</p>
  <pre><code>public class TestCDI {
      public TestCDI() {
          System.out.println(&quot;Hello TestCDI&quot;);
      }
  }
  </code></pre>
  <p>The actual class (@Inject from jakarta. inject.Inject):</p>
  <pre><code>@RunWith(Arquillian.class)
  public class TestCDITest {
  
      @Deployment
      public static Archive&lt;?&gt; createDeployment() {
          return ShrinkWrap.create(WebArchive.class)
                  .addPackages(true, TestCDI.class.getPackage())
                  .addAsManifestResource(EmptyAsset.INSTANCE, &quot;beans.xml&quot;);
      }
  
      @Inject
      TestCDI testCDI;
  
      @Test
      public void isNull() {
          Assert.assertNotNull(testCDI);
      }
  
  }
  </code></pre>
  <p>On startup: <code>mvn clean verify -Parq-wildfly-remote</code></p>
  <p>I see a connection to the server, and a warning in the log:</p>
  <pre><code>21:33:45,513 WARN  [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0013: Deployment 9236468a-1bfb-4b55-941f-325f506a9335.war contains CDI annotations but no bean archive was found (no beans.xml or class with bean defining annotations was present).
  21:33:45,532 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 140) WFLYUT0021: Registered web context: '/9236468a-1bfb-4b55-941f-325f506a9335' for server 'default-server'
  21:33:45,544 INFO  [org.jboss.as.server] (management-handler-thread - 7) WFLYSRV0010: Deployed &quot;9236468a-1bfb-4b55-941f-325f506a9335.war&quot; (runtime-name : &quot;9236468a-1bfb-4b55-941f-325f506a9335.war&quot;)
  21:33:45,948 INFO  [org.jboss.arquillian.testenricher.cdi.container.BeanManagerProducer] (default task-1) BeanManager not found.
  21:33:46,013 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 140) WFLYUT0022: Unregistered web context: '/9236468a-1bfb-4b55-941f-325f506a9335' from server 'default-server'
  21:33:46,029 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment 9236468a-1bfb-4b55-941f-325f506a9335.war (runtime-name: 9236468a-1bfb-4b55-941f-325f506a9335.war) in 17ms
  21:33:46,045 INFO  [org.jboss.as.repository] (management-handler-thread - 8) WFLYDR0002: Content removed from location /home/sergey/Загрузки/wildfly-21.0.0.Final/standalone/data/content/b5/8c1bf6477e7ecb6f6c98e4339911f76bc00f22/content
  21:33:46,045 INFO  [org.jboss.as.server] (management-handler-thread - 8) WFLYSRV0009: Undeployed &quot;9236468a-1bfb-4b55-941f-325f506a9335.war&quot; (runtime-name: &quot;9236468a-1bfb-4b55-941f-325f506a9335.war&quot;)
  </code></pre>
  <p>Test to fall with such errors:</p>
  <pre><code>java.lang.AssertionError
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.Assert.fail(Assert.java:87)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.Assert.assertTrue(Assert.java:42)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.Assert.assertNotNull(Assert.java:713)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.Assert.assertNotNull(Assert.java:723)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//ru.sfedu.repositories.model.TestCDITest.isNull(TestCDITest.java:31)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian$8$1.invokeMethod(Arquillian.java:325)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.MethodInvoker$1.invoke(MethodInvoker.java:18)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:57)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:36)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:139)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:215)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:279)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:34)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:273)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:166)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:177)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runners.ParentRunner.run(ParentRunner.java:413)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runner.JUnitCore.run(JUnitCore.java:137)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.junit.runner.JUnitCore.run(JUnitCore.java:115)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:61)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:139)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:117)
          at deployment.9236468a-1bfb-4b55-941f-325f506a9335.war//org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:86)
          at javax.servlet.api@2.0.0.Final//javax.servlet.http.HttpServlet.service(HttpServlet.java:503)
          at javax.servlet.api@2.0.0.Final//javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
          at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
          at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
          at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
          at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
          at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
          at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
          at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
          at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
          at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
          at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
          at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
          at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
          at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
          at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280)
          at java.base/java.lang.Thread.run(Thread.java:834)
  </code></pre>
  <p>I've already tried dragging beans.xml in:</p>
  <ul>
  <li>resource/META-INF/</li>
  <li>webapp/WEB-INF/</li>
  <li>test/resource/</li>
  </ul>
  <p>And also in the createDeployment method changed the paths to beans.xml</p>
  <p>Tell me what the problem is, why the application server does not see beans.xml in the archive.</p>