I'm working in a company who needs to create dynamic *.docx files. I've reached to run an example with docx4j 2.7.1 jar and Java 6. But the problem is that we are using a Tomcat web server to run the app. The server uses java 1.4.2 which is not compatible with docx4j (this requires java 6 because the Jaxb dependencies).
Now, I'm trying to compile docx4j 2.7.1 sources into my ide (we are using IBM Rational Software Development Platform Versión: 6.0.0 ID de creación: 20041117_2230) whicj is based on Eclipse (I'don't know the version).
My idea is to get a compiled version from docx4j 2.7.1 to get the *.class files and then use RetroTranslator to make them compatible with Java 1.4.2 (and with our server ).
The files that I've placed like libraries into the project are these
And the error that the ide is splashing is at SimplePageMaster.java because the projetc can't find org.plutext.jaxb.xslfo.BackgroundAttachmentType (which gives no problems into the ide).
I've tried to import this file manually, but it did not worked.
Now I'll try to use RetroTransalator with the *.class files contained into the docx4j 2.7.1 jar. If it works, I'll post here.
Why I can't compile the source code? Any ideas? What is my mistake?
Thanx in advance.