# JPMML Classifier ERROR: SAX2 driver class org.apache.xerces.parsers.SAXParser not found

**URL:** <https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611>\
**Category:** KNIME Analytics Platform\
**Created:** [September 16, 2015, 5:48pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611 "2015-09-16T17:48:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcincilla](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gcincilla/32/41083_2.png) [@gcincilla](https://forum.knime.com/u/gcincilla)\
**Post date:** [September 16, 2015, 5:48pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/1 "2015-09-16T17:48:50Z")

</div>

Dear KNIMErs,

I'm trying to use the node JPMML classifier to make prediction but I obtain the following error:

```
ERROR JPMML Classifier 0:1483 Execute failed: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
```

I'm using KNIME 2.12.0 on a GNU/Linux OS.

Please, do you have any suggestion?

Gio

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [October 26, 2015, 12:11pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/2 "2015-10-26T12:11:06Z")

</div>

Hi Gio,

sorry, I can't really say what the problem is. On our Linux machine the node works. Can you tell me which Java version you are using?

Regards,

Alexander

---

<div class="post-metadata">

**Author:** ![gcincilla](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gcincilla/32/41083_2.png) [@gcincilla](https://forum.knime.com/u/gcincilla)\
**Post date:** [October 27, 2015, 5:55pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/3 "2015-10-27T17:55:47Z")

</div>

Hi Alexander,

Thank you for your reply.&nbsp;I'm using KNIME version&nbsp;2.12.1 running on a GNU/Linux (Ubuntu 14.04) OS. As far as I know KNIME&nbsp;is using the bundled Java version 1.7.0. Is there something I can do to solve this problem?

Best,

Gio

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [October 27, 2015, 9:50pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/4 "2015-10-27T21:50:30Z")

</div>

Hi,

I have no clue why this error occurs on your system, but maybe you can use one of the&nbsp;other predictors? We also have a PMML Predictor node and a Compiling PMML Predictor in KNIME Labs.

Regards,

Alexander

---

<div class="post-metadata">

**Author:** ![marielenamari](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@marielenamari](https://forum.knime.com/u/marielenamari)\
**Post date:** [November 6, 2015, 2:32pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/5 "2015-11-06T14:32:00Z")

</div>

Hi,

I have the following error: ERROR JPMML Classifier 0:12 Execute failed: The target value given back by JPMML has the wrong type.

I dont understand, because i am using the same information with wich use for execute the model.

Please, help me..

Thanks

---

<div class="post-metadata">

**Author:** ![gcincilla](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gcincilla/32/41083_2.png) [@gcincilla](https://forum.knime.com/u/gcincilla)\
**Post date:** [December 23, 2015, 1:32pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/6 "2015-12-23T13:32:53Z")

</div>

Hi guys,

I came back to this issue because I just realized that this problem appears and disappears (apparently randomly) from one KNIME session to another. This means that sometimes the JPMML classifier node gives the problems and cannot be run, and sometimes if you just restart KNIME, it correctly works. Is it possible that this depends on the order by which dependencies are loaded? Is there a way to avoid the problem?

---

<div class="post-metadata">

**Author:** ![mazzo](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mazzo/32/527_2.png) [@mazzo](https://forum.knime.com/u/mazzo)\
**Post date:** [September 30, 2017, 6:00pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/7 "2017-09-30T18:00:55Z")

</div>

Hi,

I'm experiencing the same issue in the latest KNIME release 3.40 with the examples on the knime server.

I'm using the latest Windows OS.

cheers,

mike

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [March 6, 2018, 12:48pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/8 "2018-03-06T12:48:02Z")

</div>

Hi,  
thank you for reporting this. That it occurs kind of randomly really suggests that there is a problem with conflicts with other dependencies. I will have a chat with some other developers and see what their opinion is.  
Kind regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:26pm UTC](https://forum.knime.com/t/jpmml-classifier-error-sax2-driver-class-org-apache-xerces-parsers-saxparser-not-found/8611/9 "2023-06-23T20:26:23Z")

</div>

Closed on June 23, 2023, 8:26pm UTC


