Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
注釈が機能しないため、Netbeans 6.9/JSF2.0 プロジェクトに faces-config.xml を追加して使用しています。何が間違っているのかわかりませんが、注釈を使用すると、Bean に完全にアクセスできなくなります。プロジェクトのプロパティは、それが実際に JSF 2.0 (1.1 ではない) であることを示しています。
自己解決。大文字の問題。アノテーションを使用すると、クラスが大文字であっても、Bean 名 (xhtml 内) の先頭に小文字が必要です。XML の顔構成ファイルを使用すると、大文字で問題なく機能しました...