I have just enabled CDI on Websphere 8.5.5 and added interceptors
In beans.xml file
In JAX-RS class as below
When i deploy EAR, i get below error.
WebContainerL I WebContainerLifecycle startApplication OpenWebBeans Container is starting...
[10/15/14 14:53:15:259 EDT] 00000067 BeansDeployer E BeansDeployer deploy org.apache.webbeans.exception.WebBeansConfigurationException: Given class : interface com.example.jaxrs.SecurityChecked is not a interceptor class
Any suggestions what would be the cause of this error?
posted 2 years ago
My bad!, it should have been like below in beans.xml.