Java EJB3Unit“;找不到“”的元数据;拦截器类
大家好 我有一个使用EJB和EJB3Unit进行测试的服务。我创建了一个拦截器并用它装饰了一个方法 现在,当我运行单元测试时,我得到以下错误: 错误测试:Java EJB3Unit“;找不到“”的元数据;拦截器类,java,unit-testing,junit,ejb,Java,Unit Testing,Junit,Ejb,大家好 我有一个使用EJB和EJB3Unit进行测试的服务。我创建了一个拦截器并用它装饰了一个方法 现在,当我运行单元测试时,我得到以下错误: 错误测试: testProcessLibraryAdditionEvent(LibraryAdditionBusinessDelegateImplTest): Internal problem as no metadata was found for 'LogMetricInterceptor'. 我正在做一个噩梦,想知道我应该做什么: 我缺少的“元
testProcessLibraryAdditionEvent(LibraryAdditionBusinessDelegateImplTest): Internal problem as no metadata was found for 'LogMetricInterceptor'.
我正在做一个噩梦,想知道我应该做什么:
- 我缺少的“元数据”是什么
- 如何填充它以使EJB3Unit快乐