Closed synikitin closed 6 years ago
INFO: Marshalling PMML.. Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
You're using Java 9, which is missing some internal Java XML Binding (JAXB) libraries. This example (and all other examples) would work flawlessly on Java 8.
This issue is a re-manifestation of https://github.com/jpmml/jpmml-model/issues/17. The latest JPMML-Model library version 1.4.1 has been updated for Java 9 support (apparently, I've forgot to mark the referenced issue as resolved). All other Java PMML conversion libraries (JPMML-Converter, JPMML-R and its R2PMML frontend) will be "magically" fixed once this JPMML-Model library version is propagated to them.
In the meantime, download Java 8, and make it the default one in your computer - if you type java --version
into command prompt, then it should report some 1.8.0_16X
version.
Hello,
With this setup
I try to run the vanilla code from the examples:
and get the following errors:
Any idea why execution is crashing?