NoSuchMethodError compiling web service

I'm receiving the following error message when I compile a class taken from The Java?Web Services Tutorial.

java.lang.NoSuchMethodError: com.sun.tools.apt.Main.process(Lcom/sun/mirror/apt/AnnotationProcessorFactory;[Ljava/lang/String;)I

BUILD FAILED (total time: 0 seconds)

Here is the code...

package test;

import javax.jws.WebMethod;

import javax.jws.WebService;

@WebService

public class NewWebServiceImpl implements NewWebServiceSEI{

public static void Main(String args[]) {

return;

}

/**

* Web service operation

*/

@WebMethod

public String test1() {

// TODO implement operation

return null;

}

}

I added the 'main' method just to see if it would solve the problem. It is not in the example.

I'm new to Java and would appreciate any help.

Thanks,

Gary

[911 byte] By [gfma] at [2007-11-27 1:13:45]
# 1
Does it work without the main method?
hunter9000a at 2007-7-11 23:49:08 > top of Java-index,Java Essentials,Java Programming...
# 2
No, I put the 'main' method just to see if it solved the problem
gfma at 2007-7-11 23:49:08 > top of Java-index,Java Essentials,Java Programming...