fix the build war file problem