<my:foo> Tag Library supports namespace: http://java.sun.com/jsf/composite/mycomponents, but no tag was defined for name: foo
问题 I have a composite component named <my:foo> and I'm building another composite component named <my:bar> . But when I attempt to use <my:foo> inside the <cc:implementation> of <my:bar> , the following exception is been thrown: <my:foo> Tag Library supports namespace: http://java.sun.com/jsf/composite/mycomponents, but no tag was defined for name: foo How is this caused and how can I solve it? 回答1: This is caused by a bug which was introduced in Mojarra 2.1.8, continued in 2.1.9 and is fixed in