the useBean requires both "type" and "beanName" attributes. According to the documentation the "type" attribute is not reqired.
Thanks for reporting this. The documentation has been clarified.