Hello Matej, thank you for the response. Yes, when directly deploying my application into Tomcat I have no problem because I place the beans.xml file into WEB-INF folder as stated in the docs. This works fine. This problem happens in my "local" web application, when I start Tomcat using Eclipse IDE (for example when I need to debug my application). My application has the folder structure of a standard Eclipse dynamic web application. Having said that, I have found two different alternatives but both are failing depending on the Tomcat version I use: a) Deploy beans.xml into build/classes/META-INF/beans.xml --> With this approach I'm able to start my application with Tomcat 7. But using Tomcat 8 (or higher) results in the WELD-ENV-000033 error. b) Deploy beans.xml into WebContent/WEB_INF/beans.xml --> With this approach I'm able to start my application with Tomcat 8 (or higher). But using Tomcat 7, the beans.xml file is not found. Note that option a) was working fine for me both in Tomcat 7 and 8 using weld 1.1.24 |