Sun Java System Application Server 9.1 Update 1-9.1 Update 2 Release Notes

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

Description

The wscompile ant task fails for Java EE SDK 9.1 Update 1 on 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.