The release of Java 9 is probably only a few months away. If you try to run LT with a current release of Java 9, you’ll get a java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at start. The solution is to add --add-modules java.xml.bind when running LT. For example:
I understand the problem is caused by Java 9’s new module system which causes some packages like java.xml.bind to be not accessible by default. I’m not sure yet whether there will be a good fix as long as we’re still using and supporting Java 8.
It seems this still happens with the final release version of Java 9, the suggested workaround also still works. But I don’t have time now to search for a real fix.
It looks like the fix for this is to add jaxb-api into pom.xml, then both jdk8 and jdk9 will be able to find it.
That seemed to work for my quick test.