Hi,

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

  DeploymentException: WELD-000069 An interceptor must have at least one 
binding ...

But this interceptor is an EJB Interceptor not a Weld. The implementation of 
the interceptor looks like that::

@javax.interceptor.Interceptor
public class ServerInMaintenanceModeInterceptor {
        ...
}

What I'm doing wrong? Or, what must I do, that weld ignores EJB Interceptors

Thanks for an hint.
Torsten
_______________________________________________
weld-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-dev

Reply via email to