When using docx4j inside tomcat on windows, we notice that the docx4j jar is not removed when the webapp is redeployed. This prevents redeployment. It seems there are a number of resource streams that are obtained (for templates, xslt files,etc) but never closed, and this may prevent the jar from being unloaded by tomcat.
I have a patch locally that fixes these issues, but I cannot get the trunk code to compile due to 9 ...