JavaEE 6: javax.naming.NameAlreadyBoundException: Use rebind to override

前端 未结 5 1785
再見小時候
再見小時候 2020-12-17 17:39

I have a business interface being implemented by two EJBs.

UserManagementService

@Remote
public interface UserManagementService {
          


        
5条回答
  •  时光说笑
    2020-12-17 18:08

    I got this same exception. In my case I changed my code from
    @Stateless(mappedName = "whatever")
    to instead be
    @Stateless(name = "whatever")
    and it solved my issue

提交回复
热议问题