私のアプリケーションでは、以下のようにJndiObjectFactoryBeanを介してSpring IOCを使用してEJBに基づくいくつかのサービスを注入しているため、junitの実行中にこの例外「java.lang.IllegalArgumentException: This JNDI operation is not implemented by the JNDI provider. "
Junitの設定方法を教えてください。
<bean id="xxxMenuItemService" class="xxxMenuItemServiceyyy">
<property name="xxxMenuItemDelegator" ref="xxxMenuItemDelegator" />
</bean>
<bean id="approveMenuItemServiceRemote"
class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName"
value="ejb/XXXXXXXX" />