• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CDI doesn't recognize backingbean

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
[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
reply
    Bookmark Topic Watch Topic
  • New Topic