I've got a simple question about getting cdi running in JBoss EAP 6.2 Pojos that are injected with @inject (from javax.annotation) are always null.
The only thing I can find is that I need to add a beans.xml. I added that in de META-INF folder of my jar (inside an ear). Still I don't see any cdi/weld logging, so I'm wondering if weld is enabled at all.
We are using a custom standalone.xml and jboss-deployment-structure.xml I tried adding the weld module in those files, but the result is the same: no weld logging and no injected beans.
I created a sample project with an ejb that is loaded @Startup and tries to inject a pojo. When I deploy this project in the same container, the bean initialized, but the injected field is null.