Question : Exception in thread "main" java.lang.NoClassDefFoundE<wbr />rror: weblogic/Deployer

Hi

I'm trying to deploy a war file onto weblogic using shell script. but I keep getting the below error
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer

I have even setup setWLSEnv.sh in the script to run. I can see the message environment has been set. There is also weblogic.jar file in the classpath, but still I get the same error.

Thanks

Answer : Exception in thread "main" java.lang.NoClassDefFoundE<wbr />rror: weblogic/Deployer

Hi CharanR,

I think this is a problem in your configuration or some typo error.

Try to do a simple check by setting classpath explicitly in the commandline

java -classpath /xxx/xxx/weblogic.jar weblogic.Deployer -help

If this works, you should re-check your shell script.

Hope this help,
Sompol
Random Solutions  
 
programming4us programming4us