tags:

views:

4260

answers:

2

Hi, 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]

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...

Thanks!

P.S.: I already have weblogic 10.0 jar included.

A: 

check your server/lib folder to find wliclient.jar.

Nuno Furtado
A: 

It is packaged inside of the weblogic.jar under your server/lib.

gwhitake