"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.
"scott.stark(a)jboss.org" wrote :
| What was the inject name="..." mapping to?
|
To nothing. It was simply ignored.
And w/o exact bean the contextual injection kicked in, matching exactly one bean
implementing BeanFactory.
Since there were two, you got a warning (see log), and then a failure that the class
(autowire) dependency wasn't resolved.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138545#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...