Sun GlassFish Enterprise Server v2.1.1 Release Notes

Solution

Before running the wscompile ant task, ensure that javaee.jar is specified in the class path, not j2ee.jar.