title: Error in Java/PHP bridge API
body: <p>I'm using PHP/Java bridge for the gain capital API which you can found <a href="http://api.efxnow.com/DEMOWebServices2.8/Service.asmx" rel="nofollow noreferrer">here</a>. But after connecting using <a href="http://php-java-bridge.sourceforge.net/pjb/" rel="nofollow noreferrer">PHP/Java bridge</a> (It is connected properly and i tested that), I'm trying to use the API by creating an object for that and here is the code that i'm using in PHP,</p>
  
  <pre><code>    ini_set('display_errors',1);
      require_once("http://localhost:8080/jsp/java/Java.inc");
  
      $application    = java_context()-&gt;getServletContext();
      $configFile     = new java("java.util.Properties");
      $epaymentpipe   = new java("com.gain.rateservice.*");
  </code></pre>
  
  <p>But it throws the error as follows.</p>
  
  <pre><code>Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new com.gain.rateservice.msg. Cause: java.lang.ClassNotFoundException: com.gain.rateservice.msg VM: 1.6.0_20@http://java.sun.com/" at: #-10 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438) #-9 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284) #-8 java.lang.Class.forName0(Native Method) #-7 java.lang.Class.forName(Class.java:264) #-6 php.java.bridge.Util.classForName(Util.java:1518) #-5 php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:445) #-4 php.java.bridge.Request.handleRequest(Request.java:458) #-3 php.java.bridge.Request.handleRequests(Request.java:500) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:8080/jsp/java/Java.inc(232): java_ThrowExceptionProxyFactory-&gt;getProxy(4, 'java.util.Prope...', 'T', false) #1 http://localhost:8080/jsp/java/Java.inc(360): java_Ar in http://localhost:8080/jsp/java/Java.inc on line 195 
  </code></pre>
  
  <p>Since i don't know java, i could not able to fix this error. Any help on this would be greatly appreciated. Here is the screenshot of what i'm getting exactly.</p>
  
  <p><img src="https://i.stack.imgur.com/sEdL9.png" alt="enter image description here"></p>