title: Maven beans.xml
body: <p>Im using maven and weld. I have created beans.xml but while im starting app (java application) i have error like this:</p>
  
  <p><a href="https://i.stack.imgur.com/aBFdw.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>my pom.xml</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.kamczi&lt;/groupId&gt;
    &lt;artifactId&gt;maven-di&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.weld.se&lt;/groupId&gt;
              &lt;artifactId&gt;weld-se&lt;/artifactId&gt;
              &lt;version&gt;2.3.2.Final&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&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.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.8&lt;/source&gt;
                      &lt;target&gt;1.8&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>my error:
  Exception in thread "main" java.lang.IllegalStateException: WELD-ENV-000016: Missing beans.xml file in META-INF
      at org.jboss.weld.environment.se.Weld.initialize(Weld.java:539)
      at com.kamczi.Main.main(Main.java:10)</p>