This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "CDI doesn Watch "CDI doesn New topic
Author

CDI doesn't recognize backingbean

kim kao
Greenhorn

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


web.xml


beans.xml


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
 
Similar Threads
How to mapping request /faces/*?
Error with JBoss and JSF(My Page does not work)
No nothing works
Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0
Don't work any jfs scripts