title: Could not initialize class weblogic.utils.LocatorUtilities$Locator
body: <p>I´m trying to make a remote call from <code>Liferay</code> to a <code>EJB</code> deployed in a <code>Weblogic Server 12.2.1.3.0</code>.  </p>
  
  <p>I´m using  <code>wlthint3client.jar</code>, <code>Java jdk1.8.0_172</code> and <code>Liferay DXP</code>,
  but it throws the next exception:</p>
  
  <pre><code>18:11:31,101 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DispatcherPortlet:573] Could not complete request
  javax.portlet.PortletException: Error occured during request processing: Could not initialize class weblogic.utils.LocatorUtilities$Locator
      at org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:692)
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:533)
      at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:473)
      at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:76)
      at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
      at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:191)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:191)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
  
  Caused by: java.lang.NoClassDefFoundError: Could not initialize class weblogic.utils.LocatorUtilities$Locator
      at weblogic.utils.LocatorUtilities.getService(LocatorUtilities.java:37)
      at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:124)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
      at javax.naming.InitialContext.init(InitialContext.java:244)
      at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:216)
      at mx.com.procesar.esar.portal.imprimecurp.controller.impl.ImprimeCurpControllerImpl.executeImprimeCurpResponse(ImprimeCurpControllerImpl.java:169)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
  </code></pre>
  
  <p>I think I need some dependencies but I can figure out what they are, Do you have any idea about what's happening here?</p>
  
  <p>Thank you so much for reading</p>