HI James Actually if servlet.jar is not being used while compiling the jar file should not contain the DefaultEngineConfigurationFactoryServlet class in the first place. If this is present it means the axis.jar was created with servlet.jar in the classpath. So my guess is that servlet.jar is somewhere in your JDK1.4 environment and gets used when u invoke ant compile.
Vidyanand.