Where is class weblogic.jndi.WLInitialContextFactory?

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

    I've faced the issue stated here and I've managed to solved by fixing WL_HOME enviroment variable.

    In my case the wlserver_10.3 folder was moved to another drive (From D to E) and the guy who did the disk "migration" forgot to change the WL_HOME value at PATH\TO\Oracle\Middleware\wlserver_10.3\common\bin

    By fixing the wlserver_10.3 path I was able to deploy JAR's at WebLogic

提交回复
热议问题