title: Libraries for Embedding WLST to Java
body: <p>I am quite new to WLST. I am trying this example from here -<a href="https://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/using_WLST.html#wp1075595" rel="nofollow">https://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/using_WLST.html#wp1075595</a></p>
  
  <p>This requires me to import following classes -</p>
  
  <pre><code>import weblogic.management.scripting.utils.WLSTInterpreter;
  import org.python.util.InteractiveInterpreter; 
  </code></pre>
  
  <p>Could someone tell which jar I need to add to the build path in order to import  these classes. I added <strong>weblogic-classes.jar</strong> and I don't see any compile time errors. But it fails during runtime with following exception -</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NoClassDefFoundError:
    weblogic/management/scripting/utils/WLSTMsgTextFormatter  at
    weblogic.management.scripting.utils.WLSTUtilHelper.(WLSTUtilHelper.java:33)
      at
    weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:80)</p>
  </blockquote>
  
  <p>Would appreciate any help on this.</p>