com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.example.ejbconstructorinjection.InjectedServlet

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by arendvr.com, 1 year ago
Error creating managed object for class: class com.example.ejbconstructorinjection.InjectedServlet
via gilead by daroo1987
, 1 year ago
Error creating managed object for class pl.com.adampolsa.tls.server.services.SysClientServiceImpl
via sql.ru by Unknown author, 1 year ago
Error creating managed object for class: class com.web.NewServlet
via Coderanch by Himai Minh, 11 months ago
Error creating managed object for class com.ivan.scbcd6.RemoteEJBClientServlet1
via Stack Overflow by John M
, 1 year ago
Error creating managed object for class: class com.wellpoint.mobility.aggregation.admin.HomeServlet
via Oracle Community by eve2, 1 year ago
Error creating managed object for class webclient.HelloServlet
com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.example.ejbconstructorinjection.InjectedServlet
at org.jboss.weld.bean.SessionBean.create(SessionBean.java:343)
at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:67)
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:690)
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:772)
at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
at org.jboss.weld.manager.SimpleInjectionTarget$1.proceed(SimpleInjectionTarget.java:120)
at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:50)
at org.jboss.weld.manager.SimpleInjectionTarget.inject(SimpleInjectionTarget.java:114)
at org.glassfish.weld.services.JCDIServiceImpl.createManagedObject(JCDIServiceImpl.java:278)
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:470)
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:420)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.