[weld-dev] Unable to find java.lang.Integer in any bean archives

Emily Jiang emijiang6 at googlemail.com
Sun May 24 03:58:35 EDT 2015


I'm trying to run the cdi tck but got an error for the following test:
In the test:
org.jboss.cdi.tck.tests.definition.bean.custom.CustomBeanImplementationTest
Method:  arquillianBeforeClass



Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-000817:
Unable to find Bean Deployment Archive for class java.lang.Integer
at
org.jboss.weld.util.DeploymentStructures.getOrCreateBeanDeployment(DeploymentStructures.java:39)
at
org.jboss.weld.bootstrap.events.AbstractBeanDiscoveryEvent.getOrCreateBeanDeployment(AbstractBeanDiscoveryEvent.java:70)
at
org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.processBean(AfterBeanDiscoveryImpl.java:86)
at
org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.finish(AfterBeanDiscoveryImpl.java:186)
... 15 more

It seems that Custom bean was added by an extension but the bean implements
Bean<Integer>. Surely the java.lang.Interger should not be any bean
archives. Can someone tell me what I might done wrong? Will integrator need
to do something to cater for all of the java.x classes or Weld should
handle this?

-- 
Thanks
Emily
=================
Emily Jiang
ejiang at apache.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20150524/8241a5d9/attachment.html 


More information about the weld-dev mailing list