org.jboss.weld.exceptions.IllegalArgumentException: WELD-001305: The given type class SomeClassProducer is not a type of the bean Producer Method [SomeClass] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @RequestScoped public SomeClassProducer.createSomeClass ()]


Solutions on the web

Solution icon of github
WELD-001305: The given type class SomeClassProducer is not a type of the bean Producer Method [SomeClass] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @RequestScoped public SomeClassProducer.createSomeClass ()]

Solution icon of apache
via myfaces-users by Jiayun, 1 year ago
WELD-001324 Argument bean must not be null

Solution icon of stackoverflow
WELD-001324 Argument bean must not be null

Solution icon of web
WELD-001324 Argument bean must not be null

Solution icon of apache
via myfaces-users by Jiayun, 1 year ago
WELD-001324 Argument bean must not be null

Stack trace

org.jboss.weld.exceptions.IllegalArgumentException: WELD-001305: The given type class SomeClassProducer is not a type of the bean Producer Method [SomeClass] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @RequestScoped public SomeClassProducer.createSomeClass ()]
	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:762)
	at org.omnifaces.util.BeansLocal.getReference(BeansLocal.java:94)
	at org.omnifaces.util.BeansLocal.getReference(BeansLocal.java:85)
	at org.omnifaces.util.Beans.getReference(Beans.java:114)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago