XSD Error http://www.hazelcast.com/schema/config/hazelcast-spring.xsd in eclipse

297 views
Skip to first unread message

noir

unread,
Oct 14, 2011, 6:19:25 AM10/14/11
to Hazelcast
If got hazelcast integrated into maven and eclipse should be aware of
hazelcast-spring-1.9.4 .

It's really a strange error :

Multiple annotations found at this line:
- schema_reference.4: Failed to read schema document 'http://
www.hazelcast.com/schema/config/hazelcast-
spring.xsd', because 1) could not find the document; 2) the document
could not be read; 3) the root element of
the document is not <xsd:schema>.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element
'hz:hazelcast'.

Seems to me it can't find the xsd.

Header looks like:

beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:hz="http://www.hazelcast.com/schema/config"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://www.hazelcast.com/schema/config
http://www.hazelcast.com/schema/config/hazelcast-spring.xsd
">


When i press control + and the link http://www.hazelcast.com/schema/config/hazelcast-spring.xsd
, eclipse just showing a white space. In contrast when i do the same
just with http://www.hazelcast.com/schema/config/hazelcast-spring.xsd

tia


Reply all
Reply to author
Forward
0 new messages