Where is class weblogic.jndi.WLInitialContextFactory?

后端 未结 10 1017
无人共我
无人共我 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:16

    For WLS 12.2, where WL_HOME is The BEA home directory of your WebLogic installation

    (as defualt WL_HOME is Middleware\Oracle_Home\wlserver)

    %WL_HOME%\server\lib\wlclient.jar
    %WL_HOME%\server\lib\wls-api.jar 
    %WL_HOME%\server\lib\wls-api-part.jar 
    %WL_HOME%\server\lib\wlthint3client.jar 
    

    all these libs contains the: jar: weblogic\jndi\WLInitialContextFactory.class

    see WLS doc.: https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/12.2.1.4/wlprg/overview.html#GUID-FC14CC53-DE49-456F-B54C-D73CC6DBF818

提交回复
热议问题