Where is class weblogic.jndi.WLInitialContextFactory?

后端 未结 10 1049
无人共我
无人共我 2021-02-13 15:33

when trying to execute my jar file I get an exception:

javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory 
[         


        
10条回答
  •  礼貌的吻别
    2021-02-13 16:25

    it looks you are doing a JNDI lookup outside of WLS.

    You need to use wlfulclient.jar or if your machine has a WLS installation then add to your classpath project: WL_HOME/server/lib/weblogic.jar

提交回复
热议问题