title: ClassNotFoundException: com.ibm.ejs.ras.hpel.HpelHelper in JUnit test (with thinclient)
body: <p>I have JUnit test (some would call that 'integration test) that test the REST service for file upload/download. I'm using Apache WINK from standart Websphere 8.5 libraries:</p>
  
  <pre><code>ClientConfig config = new ClientConfig();
  LtpaAuthSecurityHandler secHandler = new LtpaAuthSecurityHandler();
  secHandler.setUserName(user);
  secHandler.setPassword(password);
  secHandler.setSSLRequired(false);
  config.handlers(secHandler);
  RestClient client = new RestClient(config);
  </code></pre>
  
  <p>But I get the exception:</p>
  
  <blockquote>
    <p>java.lang.ClassNotFoundException: com.ibm.ejs.ras.hpel.HpelHelper</p>
  </blockquote>
  
  <p>I'm using the following test dependencies: </p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.ibm.was&lt;/groupId&gt;
    &lt;artifactId&gt;com.ibm.ws.jpa.thinclient&lt;/artifactId&gt;
    &lt;version&gt;8.5.0.2&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;junit&lt;/groupId&gt;
    &lt;artifactId&gt;junit&lt;/artifactId&gt;
    &lt;version&gt;4.11&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>What I'm missing here? The tested code works fine when deployed on WebSphere, but doesn't work as stand-alone junit test (or main function) that uses thinclient..</p>