Maven, Payara, JEE: Cannot find beans.xml

Exception while loading the app : WELD-001201: Error loading beans.xml jar:file:/Users/johndoe/Applications/servers/payara41/glassfish/domains/apps/eclipseApps/servicer/WEB-INF/lib/monitoring-0.0.1-SNAPSHOT.jar!/META-INF/beans.xml java.io.FileNotFoundException: JAR entry META-INF/beans.xml not found in … at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:142) Stupid error. META-INF/beans.xml must reside directly under src. Cf…. [Weiterlesen]