Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8906377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:38:20+00:00 2026-06-15T02:38:20+00:00

I have problem with JSF 2 when trying to made several beans injection i

  • 0

I have problem with JSF 2 when trying to made several beans injection
i receive this error:

GRAVE: JSF ne pourra pas créé le bean géré contact_ lorsqu'il sera demandé.  
Les problèmes suivants ont été détectés :
 - Erreur inattendue lors du traitement du bean géré organisme_
 29 nov. 2012 20:56:23 com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
GRAVE: Error Rendering View[/index.xhtml]
com.sun.faces.mgbean.ManagedBeanCreationException: Impossible de créer le bean géré contact_.  Les problèmes suivants ont été détectés :
 - Erreur inattendue lors du traitement du bean géré organisme_

here is the beans code :

@ManagedBean (name="organisme_")    
@SessionScoped    
public class Organisme_  implements java.io.Serializable  {    
private static final long serialVersionUID = 4579411552477526993L;    
    private int idOrganisme;    
    @ManagedProperty(value="#{adresse_}")    
    private Adresse_ adresses_organisme;    
private String nomOrganisme;    
     private String telephone;    
     private String fax;    
     private Integer effectif;    
     private String message;    
     private String web;    
//getter and setter    

And

@ManagedBean(name="contact_")    
@RequestScoped    
public class Contact_  implements java.io.Serializable {    
private static final long serialVersionUID = 493917875769565440L;    
    private int idContact;    
     @ManagedProperty(value="#{organisme_}")    
     private Organisme_ organisme;    
 @ManagedProperty(value="#{adresse_}")    
     private Adresse_ adresses;    
     private String nomContact;    
     private String prenomContact;    
     private String email;    
     private String password;    
//getter and setter    
public String Connexion() {return "success";
}

And

@ManagedBean(name="adresse_")    
@RequestScoped    
public class Adresse_  implements java.io.Serializable {    
private int idAdresse;    
    private String pays;    
//getter and setter    

the index page contain :

commandLink action="#{contact_.Connexion()}"  style=" cursor: pointer; text-decoration: none;" </blink>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:38:23+00:00Added an answer on June 15, 2026 at 2:38 am

    addresse_ is a RequestScoped bean. You cannot inject a RequestScoped bean in a SessionScoped bean (you will have lots of requests and its related beans and only a session and its bean, it would make no sense to inject one particular instance of addresse_ ignoring all the others).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the complete source code: http://www.sendspace.com/file/lwxpyf I have a problem with a JSF
I have a problem with one JSF page. This is the source code: <!DOCTYPE
I have a problem with JSF. Can anyone say why this doesn't work? <h:selectOneListbox
I have problem with setting proper charset on my jsf pages. I use MySql
I am working in primefaces 3.3 and jsf 2.0. I have problem in deleting
I have some problem's with a simple application in JSF 2.0. I try to
I am new to JSF and have a problem with my simple JSF application.
I have the following problem with the timeouts in Spring Security with JSF: I've
Ok simple question. I have a JSF application, containing a login page. The problem
I have problem with my query on C, I’m using the oci8 driver. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.