com.hazelcast.config.InvalidConfigurationException

cvc-complex-type.2.3: Element 'tcp-ip' cannot have character [children], because the type's content type is element-only.


Solutions on the web6

Solution icon of github
via GitHub by bklau
, 7 months ago
cvc-complex-type.2.3: Element 'tcp-ip' cannot have character [children], because the type's content type is element-only.

Solution icon of github
cvc-complex-type.2.3: Element 'tcp-ip' cannot have character [children], because the type's content type is element-only.

Solution icon of github
via GitHub by bilalyasar
, 1 year ago
cvc-elt.1: Cannot find the declaration of element 'hazelcast-client'.

Solution icon of github
<import> element can appear only in the top level of the XML

Solution icon of github
via GitHub by lifengllk
, 1 year ago
cvc-elt.1: 找不到元素 'hazelcast-client' 的声明。

Solution icon of github
You should only define one of `<iam-role>` and `<access-key>`

Stack trace

  • com.hazelcast.config.InvalidConfigurationException: cvc-complex-type.2.3: Element 'tcp-ip' cannot have character [children], because the type's content type is element-only. at com.hazelcast.config.AbstractXmlConfigHelper.schemaValidation(AbstractXmlConfigHelper.java:186) at com.hazelcast.config.XmlConfigBuilder.parseAndBuildConfig(XmlConfigBuilder.java:220) at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:203) at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:196) at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:123) at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58) at com.hazelcast.core.server.StartServer.main(StartServer.java:46)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.