Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CDI doesn't recognize backingbean  RSS feed

kim kao
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to learn how to use javaee 6 CDI feature on JSF 2.
But, the container seems doesn't recognized my customized backing bean at the runtime.
Below is my execution environment and the code snip.
Every response is appreciated about how to solve this problem.

Platform : Eclipse 4.2 Juno / WebLogic 12c
Scenario : User request for the "start-page.xhtml" ,and then click on the button , redirect to the "page1.xhtml"

The start-page.xhtml code

The page1.xhtml code

The backing bean



and the runtime error

The IDE Settings and other setting views.
ScreenHunter_63 Jan. 31 10.27.jpg
[Thumbnail for ScreenHunter_63 Jan. 31 10.27.jpg]
Eclipse project build path
ScreenHunter_64 Jan. 31 10.30.jpg
[Thumbnail for ScreenHunter_64 Jan. 31 10.30.jpg]
Project folder structure
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!