HELP!! NoSuchMethodError Desperate
I am getting the error:
java.lang.NoSuchMethodError: GetUsername.<init>(Ljava/net/Socket;LMyObjects;)V
The line causing it is:
new GetUsername(conn.accept(), theobjects).start();
The GetUsername Class is defined as:
public class GetUsername extends Thread {
private Socket theClient = null;
public MyObjects theobjects = null;
public GetUsername(Socket client, MyObjects passedobjects) {
this.theobjects = passedobjects;
this.theClient = client;
}
public void run() {
//Does alot of junk here
//And does more junk here
}
}
the MyObjects class is just a collection of objects thrown into a
class to make the objects accessible to my different threads in an easy manner.
Anyone have any suggestions as to why this is happening and how to fix it? Thanks alot!

