aspose file tools
The moose likes JSF and the fly likes CDI doesn't recognize backingbean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "CDI doesn Watch "CDI doesn New topic

CDI doesn't recognize backingbean

kim kao

Joined: Dec 17, 2011
Posts: 7
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.

[Thumbnail for ScreenHunter_63 Jan. 31 10.27.jpg]

[ScreenHunter_64 Jan. 31 10.30.jpg]

It is sorta covered in the JavaRanch Style Guide.
subject: CDI doesn't recognize backingbean