Open jdwinfodesign opened 1 year ago
The problem is something to do with your classpath. To diagnose it we need to know how you invoked Java, what your classpath was, and how the jar you're referring to was built.
I believe this is fixed on the develop branch--it's an issue with how the logging libraries are used (52bbfc75c225921122df1753cbe9c0ffa155ba93).
If you can build from source, try checking out develop branch, do mvn clean install
and run the all-dependencies jar from the target/ directory.
If you're not able to build from source, let me know and I can make a jar for you.
The problem is something to do with your classpath.
I was using the default JRE for Windows 11, which is a Java SE. I'm so used to running builds in Oxygen, I don't even have JAVA_HOME set on my machine. Should I set JAVA_HOME to a JDK instead?
I think @drmacro's tip is better than mine.
@drmacro Build failed. I ran it a second time with error and debug switches and info piped to a text file.
Downloaded Release 1.1.2 and ran successfully in Oxygen. I want to see the SWPX, so copied and pasted the command from the README:
java -jar wordinator.jar -i html/sample_web_page.html -o out -x xsl/html2docx/html2docx.xsl -t docx/Test_Template.dotx
The result: `PS C:\Users\jdwin\Documents\wordinator-sandbox> java -jar wordinator.jar -i html/sample_web_page.html -o out -x xsl/html2docx/html2docx.xsl -t docx/Test_Template.dotx WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.