This is *dev* mailing list, user questions go to *user* forum / mailing list.<br><br><div class="gmail_quote">On Thu, Nov 17, 2011 at 6:36 PM, Dipl.-Ing. Torsten Liermann <span dir="ltr">&lt;<a href="mailto:mist@liermann.ws">mist@liermann.ws</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi,<br>
<br>
I would like to start with CDI on GlassFish 3.1.1. First I put a file named beans.xml in the META-INF directory of my EJB modules. With deploying that module, i will get the error<br>
<br>
  DeploymentException: WELD-000069 An interceptor must have at least one binding ...<br>
<br>
But this interceptor is an EJB Interceptor not a Weld. The implementation of the interceptor looks like that::<br>
<br>
@javax.interceptor.Interceptor<br>
public class ServerInMaintenanceModeInterceptor {<br>
        ...<br>
}<br>
<br>
What I&#39;m doing wrong? Or, what must I do, that weld ignores EJB Interceptors<br>
<br>
Thanks for an hint.<br>
Torsten<br>
_______________________________________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
</blockquote></div><br>