WELD-000072 Managed bean declaring a passivating scope must be passivation capable
You can make your bean passivation capable by implementing the Serializable interface:
public class DemoBean implements Serializable { ... }
Note that there are more requirements for being passivation capable. Refer to the Weld documentation for more information.
The error might remain even though the CDI bean is serializable:
WELD-000072 Managed bean declaring a passivating scope must be passivation capable
Example class:
@Named@ConversationScopedpublic class TransactionMatchController implements Serializable { ...}
Make sure that all @Interceptors are seializable as well:
@Interceptor@Transactionalpublic class TransactionInterceptor implements Serializable { ...}