I'm trying out the APM MoSKito and been trying to deploy the embedded Web UI that will be mapped to [context]/mui/*
where the MoSKito interface will be shown.
The problem is that I get the following error when deploying app:
CDI definition failure:WELD-001476: Interceptor [class net.anotheria.moskito.integration.cdi.CountInterceptor intercepts @Count] must be @Dependent
The interceptors are declared in the beans.xml
:
<interceptors>
<class>net.anotheria.moskito.integration.cdi.CountInterceptor</class>
<class>net.anotheria.moskito.integration.cdi.CallInterceptor</class>
</interceptors>
But since I'm not able to modify the Maven repositories for this APM, I can't really make These classes use the @Dependent
annotation so I don't really understand the problem, I would really apreciate some help. Thanks!