Error while setting up DHIS2 2.33 in (windows 10,tomcat 9, postgres 10)

This is great! I’ve also seen a post;

Are you using Java 9 or higher? because, starting with Java 9, xml components are now modules that you need to specify to be included.

You can either add “–add-modules java.xml.bind” to JAVA_OPTS environment variable or edit catalina.bat/catalina.sh to hard code it. But keep in mind that --add-modules does not work in java 8 if you intend to use both jvm versions.