title: Caused by: java.lang.NoClassDefFoundError: com/ibm/CORBA/iiop/ORB in WAS Liberty
body: <p>I started using WAS Liberty 8.5 in my eclipse,when i try to deploy an application I am getting this error.</p>
  
  <pre><code>Caused by: java.lang.NoClassDefFoundError: com/ibm/CORBA/iiop/ORB
  </code></pre>
  
  <p>I found that its due to the WAS runtime jar <code>ibmorb.jar</code> provided with WAS server install.</p>
  
  <p>I dont know how to configure in WAS Liberty profile.Any clues.</p>
  
  <p>Even i mentioned in the library path,but still error getting.</p>
  
  <pre><code>&lt;variable name="DRIVER_PATH" value="C:\NovemberR2\DMS\deploy\lib"/&gt;
  &lt;library id="db2Lib"&gt;
            &lt;fileset dir="${DRIVER_PATH}" includes="com.ibm.ws.orb_8.5.0.jar classes12.jar oracleJDBC.jar ojdbc6.jar ojdbc14.jar ibmorbapi.jar ibmorb.jar"/&gt;
  &lt;/library&gt;
  </code></pre>
  
  <p>The stacktrace is ---></p>
  
  <pre><code>here is the stack trace.    ...` 61 more
  Caused by: java.lang.NoClassDefFoundError: com/ibm/CORBA/iiop/ORB
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
      at java.lang.Class.getMethod0(Class.java:2685)
      at java.lang.Class.getMethod(Class.java:1620)
      at com.ibm.ws.naming.util.Helpers.getInitORBMethodForNonApplet(Helpers.java:411)
      at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:390)
      at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:462)
      at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
      orSourcesPropertyResolver.java:84)
      at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:60)
      at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:511)
      at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty(PropertySourcesPlaceholderConfigurer.java:135)
      at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty(PropertySourcesPlaceholderConfigurer.java:132)
      at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:84)
      at org.springframework.core.env.PropertySourcesPropertyResolver.getPropertyAsRawString(PropertySourcesPropertyResolver.java:70)
      at org.springframework.core.env.AbstractPropertyResolver$1.resolvePlaceholder(AbstractPropertyResolver.java:207)
      at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:147)
      at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
      at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:204)
      at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:178)
      at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:175)
      at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:801)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:962)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
      ... 63 more
  </code></pre>
  
  <p>Thanks for the hints,but i used to run this application well in WAS 8.0 server and IBM WAS JDK provide in built and i started migration to WAS 8.5 using liberty profile thought of experimenting it.</p>