Resolved – java.lang.ClassNotFoundException: weblogic.WLST

If you working with Wlst scripts or you wrote some python script and when you try to run the scripts

you can faces this weird error-

Exception in thread “main” java.lang.NoClassDefFoundError: weblogic.WLST
Caused by: java.lang.ClassNotFoundException: weblogic.WLST not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at gnu.gcj.runtime.SystemClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(

Cause – Reason can be weblogic.jar or jar which contains weblogic.WLST class is not set into need to set the classpath

Solution– set the Weblogic environment which includes several environment variables including WL_HOME and JAVA_HOME among others. The best way to set these environment variable is to source the script $MW_HOME/wlserver_10.3/server/bin/

and go to $MW_HOME/user_project/domain/base_domain/bin/

You need to execute both the command and please note try to run command in unix like dot space and then command like below

$MW_HOME/wlserver_10.3/server/bin/ . ./
$MW_HOME/user_project/domain/base_domain/bin/ . ./

Happy weblogic learning with Vinay Kumar

Error while deploying ADF application into WebLogic Server 11g

Normally we get the error,While deploying ADF application into WebLogic Server 11g,
An error occurred during activation of changes, please see the log for details.[J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name:, exact-match: false].


1. Login to WebLogic Server 11g Console

2. Click on Deployements

3. Click on, library

4. Click on Targets tab and select the server where the application going to be deployed (Select only server which is used for ADF deployment, if you have UCM server than uncheck it)

5. Click on “Save”

Follow same steps from 3 to 5 on following library too

– jstl(1.2,
– jsf(1.2,

Try again deploying,it will work now.

Happy coding with Vinay in techartifact…..