Sun GlassFish Enterprise Server 2.1 Release Notes

wscompile fails with "package javax.xml.rpc does not exist" on JDK6 u4 b3 (6638567)

Description

The wscompile ant task fails for JDK 6 Update 4. For each JAX-RPC API class, the following error message is displayed:


package package-name does not exist

Solution

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