File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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]

I agree. Here's the link:
subject: CDI doesn't recognize backingbean
It's not a secret anymore!