AbstractMethodError after update to Hazelcast 3.6-EA

483 views
Skip to first unread message

Wim Deblauwe

unread,
Nov 6, 2015, 2:27:07 AM11/6/15
to Hazelcast
Hi,

I am trying Hazelcast 3.6-EA (Currently using 3.5.3). When running I get an AbstractMethodError:

java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at com.hazelcast.config.XmlConfigBuilder.parse(XmlConfigBuilder.java:226)
at com.hazelcast.config.XmlConfigBuilder.parseAndBuildConfig(XmlConfigBuilder.java:210)
at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:201)
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:100)
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:57)
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:44)

Any idea why this might be? I am running on Java 8.

regards,

Wim

Enes Akar

unread,
Nov 6, 2015, 4:36:52 AM11/6/15
to Hazelcast
Can you attach your configuration xml?

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/e89344b4-2440-4b7e-8a97-8dd93cede537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jaromir Hamala

unread,
Nov 6, 2015, 4:44:31 AM11/6/15
to Hazelcast
Hi Wim,

this seems like a very old version of Xerces is on your classpath. Are you running your application inside Java EE or Spring container? Can you check if XercesImpl.jar is on your classpath?

Cheers,
Jaromir

Wim Deblauwe

unread,
Nov 6, 2015, 5:00:17 AM11/6/15
to haze...@googlegroups.com
I do have Xerces in my classpath indeed. I will further look down that path and see if I can upgrade to a later version.

regards,

Wim

--
You received this message because you are subscribed to a topic in the Google Groups "Hazelcast" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hazelcast/tty_RdMJs5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hazelcast+...@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.

Wim Deblauwe

unread,
Nov 6, 2015, 9:48:34 AM11/6/15
to Hazelcast
For anybody that has the same issue: Removing Xerces indeed solved the issue.

Op vrijdag 6 november 2015 11:00:17 UTC+1 schreef Wim Deblauwe:
I do have Xerces in my classpath indeed. I will further look down that path and see if I can upgrade to a later version.

regards,

Wim
2015-11-06 10:44 GMT+01:00 Jaromir Hamala <jaromir...@gmail.com>:
Hi Wim,

this seems like a very old version of Xerces is on your classpath. Are you running your application inside Java EE or Spring container? Can you check if XercesImpl.jar is on your classpath?

Cheers,
Jaromir

On Friday, November 6, 2015 at 9:27:07 AM UTC+2, Wim Deblauwe wrote:
Hi,

I am trying Hazelcast 3.6-EA (Currently using 3.5.3). When running I get an AbstractMethodError:

java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at com.hazelcast.config.XmlConfigBuilder.parse(XmlConfigBuilder.java:226)
at com.hazelcast.config.XmlConfigBuilder.parseAndBuildConfig(XmlConfigBuilder.java:210)
at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:201)
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:100)
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:57)
at com.hazelcast.config.ClasspathXmlConfig.<init>(ClasspathXmlConfig.java:44)

Any idea why this might be? I am running on Java 8.

regards,

Wim

--
You received this message because you are subscribed to a topic in the Google Groups "Hazelcast" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hazelcast/tty_RdMJs5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hazelcast+unsubscribe@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.

Bilal Yasar

unread,
Nov 9, 2015, 4:19:37 AM11/9/15
to Hazelcast
Hi Wim,

What was the your xerces version?
Also if possible can you post logs when you add -Djaxp.debug=1  and xerces in classpath?
To unsubscribe from this group and all its topics, send an email to hazelcast+...@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.

Damodar

unread,
Apr 19, 2017, 5:35:10 PM4/19/17
to Hazelcast
Thanks Wim.
I had the exact same issue. Resolved after getting rid of xerces-impl jar

Regards
Damodar
Reply all
Reply to author
Forward
0 new messages