File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CDI doesn't recognize backingbean

 
kim kao
Greenhorn
Posts: 7
  • 0
  • 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


web.xml


beans.xml


and the runtime error


The IDE Settings and other setting views.
ScreenHunter_63 Jan. 31 10.27.jpg
Eclipse project build path
[Thumbnail for ScreenHunter_63 Jan. 31 10.27.jpg]
ScreenHunter_64 Jan. 31 10.30.jpg
Project folder structure
[Thumbnail for ScreenHunter_64 Jan. 31 10.30.jpg]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic