"alesj" wrote : "scott.stark(a)jboss.org" wrote : Guess I need to look
into how to make the error more informative.
| Like I said, and I think Adrian also already mentioned, we need to switch on the xml
validation, for tests and real usage.
| That would tell you the real problem, 'name' attribute doesn't exist on
inject element.
|
That's a different issue.
Turning on xml validation isn't going to help if you construct the BeanMetaData
programmatically.
We should add something to the "toHumanReadableString()" for the "anonymous
inject"
to ask whether they intended that it or just forgot to give a bean name. :-)
| Bean2TypePool -> injection by interface
org.jboss.beans.metadata.spi.factory.BeanFactory (or did you forget to supply a bean name
for the injection?) {Installed:** NOT FOUND **}
|
Otherwise we're going to get lots of FAQs :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138714#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...