From ec88484acdc6736c21c4449c0f38869e5c81dd68 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 12 Mar 2016 13:53:06 +0100 Subject: [PATCH] it must be @EJB to inject another EJB into an EJB --- .../jusercore/model/email_address/EmailChangeSessionBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java b/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java index bb4131a..2eddde8 100644 --- a/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java @@ -17,8 +17,8 @@ package org.mxchange.jusercore.model.email_address; import java.text.MessageFormat; +import javax.ejb.EJB; import javax.ejb.Stateless; -import javax.inject.Inject; import javax.persistence.PersistenceException; import org.mxchange.jcoreee.database.BaseDatabaseBean; import org.mxchange.jusercore.model.user.User; @@ -40,7 +40,7 @@ public class EmailChangeSessionBean extends BaseDatabaseBean implements EmailCha /** * User bean */ - @Inject + @EJB private UserSessionBeanRemote userBean; /** -- 2.39.5