tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: CDI @Requires issue with Tomee
Date Sun, 08 Jul 2012 23:13:48 GMT
hmm

are you sure the alternative was activated? did you use WEB-INF/beans.xml?

well if it doesn't work the mock is the easier solution

maybe get in touch with JBoss to see how (or if) @Requires should work in
other containers...

- Romain


2012/7/9 zeeman <hamzah0@fastmail.us>

> I tried using an alternative but I get the same validation stack trace. Any
> idea?
>
> I implemented the interface PermissionResolver, which the class with
> @Required implements. Added @Alternative to my class, and added Alternative
> element to beans.xml
>
> Anything else?
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/CDI-Requires-issue-with-Tomee-tp4656112p4656161.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message