tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vnalla <v_na...@hotmail.com>
Subject Re: @EJB runtime error
Date Fri, 26 Aug 2016 20:41:59 GMT
Hi,

It is used in the TestServlet.java, which is in the same package and part of
he same war file, the code snippet is as below. Does that mean I have to add
TestSerlvet class name to whitelist as well?

@WebServlet(urlPatterns = { "/TestServletWithInterface" })
public class TestServlet extends HttpServlet {

    // Cannot be injected using @Inject
    @EJB
    Account bean;


Thanks,
Venkat




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/EJB-runtime-error-tp4679941p4679949.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message