title: The type java.lang.CharSequence cannot be resolved in package declaration
body: <p>I get 2 classes in package <code>P</code>. Interface class <code>A</code> and its implementation class <code>B</code>. 
  In the file with class <code>B</code> I get the following error: <code>The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files</code>.</p>
  
  <p>I'm using Eclipse Helios and</p>
  
  <pre><code>$ java -version
  java version "1.8.0_05"
  Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
  Java HotSpot(TM) Server VM (build 25.5-b02, mixed mode)
  </code></pre>
  
  <p>Standard solution of removing and adding JRE doesn't work. 
  How can I fix it?</p>
  
  <p><strong>EDIT:</strong>
  Code:<br>
  Class <code>A</code>:</p>
  
  <pre><code>package com.jax;
  
  import javax.jws.WebMethod;
  import javax.jws.WebService;
  import javax.jws.soap.SOAPBinding;
  import javax.jws.soap.SOAPBinding.Style;
  
  
  @WebService
  @SOAPBinding(style = Style.RPC)
  public interface WebServiceInter {
  
  @WebMethod
  String sayHello();
  
  }
  </code></pre>
  
  <p>Class <code>B</code>:</p>
  
  <pre><code>package com.jax; // **Error is here**
  
  import javax.jws.WebService;
  
  @WebService(endpointInterface = "com.jax.WebServiceInter")
  public class WebServiceImpl implements WebServiceInter{
      @Override
      public String sayHello(){
          return "Hello!";
      }
  }
  </code></pre>
  
  <p>Project structure: 
  ProjectName -> Java Resources -> com.jax -> Class <code>A</code>, Class <code>B</code></p>