ejb lookup failing with NamingException

前端 未结 3 2058
青春惊慌失措
青春惊慌失措 2020-12-01 10:01

I\'ve added the following in my web.xml:


        ejb/userManagerBean
        Ses         


        
3条回答
  •  伪装坚强ぢ
    2020-12-01 10:29

    Last two answers are both correct in that they are things you need to change/fix. But the NoSuchMethodError you see is not from your code, nor from things trying to find your code (would produce some kind of NoClassDefFoundException, I think, were this the case). This looks more like incompatible versions of the JNDI provider provided by the container, and what the JNDI implementation in the Java library wants. That's a pretty vague answer, but, would imagine it is solvable by perhaps upgrading your application server, and, ensuring you aren't deploying possibly-stale copies of infrastructure classes related to JNDI with your app, that might interfere.

提交回复
热议问题