类weblogic.jndi.WLInitialContextFactory在哪里? [英] Where is class weblogic.jndi.WLInitialContextFactory?
问题描述
当我尝试执行我的jar文件时,我得到一个异常:
when trying to execute my jar file I get an exception:
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
[Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
我想这是类路径上某种丢失的库。
谁能告诉我哪个jar文件丢失了?我无法在任何地方找到weblogic.jndi.WLInitialContextFactory类......
I guess this is some kind of missing library on the classpath. Can anyone tell me which jar-file is missing? I can't find the class weblogic.jndi.WLInitialContextFactory anywhere...
谢谢!
PS:我已经包含了weblogic 10.0 jar。
P.S.: I already have weblogic 10.0 jar included.
推荐答案
检查你的server / lib /文件夹以找到wliclient.jar。
Check your server/lib/ folder to find wliclient.jar.
使用Weblogic 12.1.3,你可以在这里找到它:
$ {INSTALL_DIR} / inventory / wlserver / server / lib / wlclient .jar
With Weblogic 12.1.3, you can find it here:
${INSTALL_DIR}/inventory/wlserver/server/lib/wlclient.jar
这篇关于类weblogic.jndi.WLInitialContextFactory在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!