Hazelcast Spring integration issue

只谈情不闲聊 提交于 2019-12-09 06:04:26

Does it work for you if you change the last line of the schema instance from http://www.hazelcast.com/schema/spring http://hazelcast.com/schema/spring/hazelcast-spring-3.5.xsd"> to http://www.hazelcast.com/schema/spring https://hazelcast.com/schema/spring/hazelcast-spring-3.5.xsd"> ?

The xsi:schemaLocation section is problematic. The line referenced above is missing www for the second URL.

The second URL in the XML file is http://hazelcast.com/schema/spring/hazelcast-spring-3.5.xsd and should be http://www.hazelcast.com/schema/spring/hazelcast-spring-3.5.xsd

You need to add hazelcast-spring project to your classpath.

<dependency>
   <groupId>com.hazelcast</groupId>
   <artifactId>hazelcast-spring</artifactId>
   <version>3.5</version>
</dependency>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!