jpmml/jpmml-evaluator-spark

why NoClassDefFoundError exception occured in LoadingModelEvaluatorBuilder method

Closed this issue · 0 comments

I Create the evaluator use this code
val evaluator = new LoadingModelEvaluatorBuilder().load(pmmlIs).build()

but it cannot run
Exception in thread "main" java.lang.NoClassDefFoundError: jakarta/xml/bind/JAXBContent

JDK version is 8
spark version 2.12
scala version 2.12

I tried different jpmml-evaluator-spark version not worked