登録プロセスに Faces フローを実装していますが、Bean の「CreateBn」に @FlowScoped でアノテーションを付けると、次のエラーが発生します。また、CDI: SessionScoped を使用すると、次のように動作します。
2014-09-01T10:47:58.010+0000|Avertissement: JSF1063 : AVERTISSEMENT ! D�finition d�une valeur
d�attribut non-s�rialisable dans HttpSession (cl� : 0d4116bdc7f306730f3ea26b84ab:0_flowStack, classe de la valeur : com.sun.faces.flow.FlowHandlerImpl$FlowDeque).
2014-09-01T10:47:58.013+0000|Grave: Error Rendering View[/inscription/inscription.xhtml]
javax.el.ELException: /inscription/inscription.xhtml @12,60 value="#{createBn.user.email}": org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.faces.flow.FlowScoped
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
そしてここに豆があります:
@Named
@FlowScoped("inscription")
public class CreateBn implements Serializable{
private static final long serialVersionUID = 1L;
private static final String INSCRIPTION_RETURN = "inscription_return";
private User user;
...
また、ファイルの命名エラーがないことを確認しています: フロー フォルダー、xxx-flow.xml、xxx-return.xhtml。助けてください