I am setting up basic environment for learning CDI in JavaEE7. I have the following code for starting Weld. Just a startup and shutdown.
Weld
package
This problem also occur even if you miss to keep beans.xml file in you test/resource/META-INF folder.\
Make sure you are maintaining beans.xml file as its mandatory file for Context and Dependency injection.