Top "Weld" questions

Weld is the reference implementation (RI) for JSR-299: Java Contexts and Dependency Injection for the Java EE platform (CDI)

CDI : WELD-001408 Unsatisfied dependencies, how to resolve it?

I do a small test project with CDI. My application is composed of an EJB EAR and WAR, all deployed …

jakarta-ee cdi glassfish-4 weld
WELD-001303 No active contexts for scope type javax.enterprise.context.SessionScoped

I have searched every where, but seem I cannot find out the best answer for me to resolved this error, …

java jboss annotations weld
How to programmatically inject a Java CDI managed bean into a local variable in a (static) method

How can I programmatically inject a Java CDI 1.1+ managed bean into a local variable in a static method?

java dependency-injection cdi jboss-weld weld
WELD-001408 Unsatisfied dependencies for type ... with qualifiers [@Default] at injection point

I got a stupid problem when deploying my Java Application on JBoss. Before I changed my source code using an …

java deployment jboss dependency-injection weld
WELD-000227: Bean identifier index inconsistency detected - the distributed container probably doesn't work with identical applications

I am using tomcat v7 with Weld v2.2.9.Final and myFaces v2.2.7 after restart server in eclipse IDE and reload …

tomcat cdi weld
How to inject EntityManager in CDI (weld)?

In my project , I use JSF+JPA+CDI+WildFly 8.2 in the persistence layer. I have a BasicDao , like this: public …

jpa cdi wildfly entitymanager weld
CDI Ambiguous dependency with @Produces - why?

I am using code like below: public Configuration { private boolean isBatmanCar = someMethod(...); @Produces public Car getCar(@New Car car) { if(…

jakarta-ee cdi weld
CDI deployment failure:WELD-001414 Bean name is ambiguous

I have an application, which has multiple modules and various dependencies. When I deploy the application on Glassfish 4, I am …

java maven cdi glassfish-4 weld
WELD-001408: Unsatisfied dependencies for type Employee with qualifiers @Default

I got the following error when deploying to Glassfish on Netbeans. This is the first time I am trying to …

jsf cdi weld
How to disable WELD on WildFly

How to fully disable WELD on WildFly. I don't need it, because I use another DI framework. Exception 0 : javax.enterprise.…

java jboss cdi weld wildfly