jpmml / jpmml-evaluator

Java Evaluator API for PMML
GNU Affero General Public License v3.0
895 stars 255 forks source link

If the version 1.6.4 could work on java 8? #262

Closed xiaoqiang95a closed 1 year ago

xiaoqiang95a commented 1 year ago

I use Java8,but class org.jpmml.model.PMMLUtil import import jakarta.xml.bind.JAXBException; how could java8 use the newest version 1.6.4 ?

vruusmann commented 1 year ago

I use Java8,but class org.jpmml.model.PMMLUtil import import jakarta.xml.bind.JAXBException;

Fix your classpath!

Specifically, you need to include the org.jpmml:pmml-evaluator-metro:1.6.4 dependency, as pointed out in the README file: https://github.com/jpmml/jpmml-evaluator#installation

Also, see the pinned issue: https://github.com/jpmml/jpmml-evaluator/issues/246