Any further updates on this issue. I am using karaf 3.0.0 and facing the same issue. With namespace v1.1.0 and command element with about name attribute, getting following error.
Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find a matching factory method getScope on class org.apache.karaf.shell.console.commands.NamespaceHandler for arguments [com.test.cmd.list] when instanciating bean #recipe-7 -- View this message in context: http://karaf.922171.n3.nabble.com/Schema-for-custom-shell-commands-tp4029047p4031242.html Sent from the Karaf - User mailing list archive at Nabble.com.