title: socket io for java maven eclipse is not working because it's not recognizing socket io
body: <p>this is my dependency</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;a&lt;/groupId&gt;
    &lt;artifactId&gt;a&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
    &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;io.socket&lt;/groupId&gt;
      &lt;artifactId&gt;socket.io-client&lt;/artifactId&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/project&gt;
  
  
  this is my client  (main)
  import io.socket.client.Socket;
  import io.socket.emitter.Emitter;
  
  public class client {
      public static void main(String[] args) {
          socket = IO.socket("http://145.24.222.151::8085");
          socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {
  
            public void call(Object... args) {
              Socket.emit("foo", "hi");
              Socket.disconnect();
            }
  
          }).on("event", new Emitter.Listener() {
  
            public void call(Object... args) {}
  
          }).on(Socket.EVENT_DISCONNECT, new Emitter.Listener() {
  
            public void call(Object... args) {}
  
          });
          Socket.connect();
  
  
  
      }
  }
  </code></pre>
  
  <p>it is not recognzigng any of the socket functions only like 2 i already did maven clean maven install and i tried to shut down and open eclipse again its not doing anything anyone know why?
  the errors i get are:</p>
  
  <p>Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
      socket cannot be resolved to a variable
      IO cannot be resolved
      socket cannot be resolved
      Socket cannot be resolved to a variable
      Emitter cannot be resolved to a type
      socket cannot be resolved
      socket cannot be resolved
      Emitter cannot be resolved to a type
      The method call(Object...) of type new Listener(){} must override a superclass method
      Socket cannot be resolved to a variable
      Emitter cannot be resolved to a type
      The method call(Object...) of type new Listener(){} must override a superclass method
      socket cannot be resolved</p>
  
  <pre><code>at client.main(client.java:3)
  </code></pre>