Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSD file not found #213

Closed
Guillaume-Mayer opened this issue Jan 15, 2018 · 5 comments
Closed

XSD file not found #213

Guillaume-Mayer opened this issue Jan 15, 2018 · 5 comments
Milestone

Comments

@Guillaume-Mayer
Copy link

The file http://www.hazelcast.com/schema/spring/hazelcast-spring.xsd used in the spring example file, is not found (error 404).

What is the right file ?

@mmedenjak mmedenjak added this to the 3.10 milestone Jan 16, 2018
@googlielmo
Copy link
Contributor

Hi @Guillaume-Mayer
The XSD is meant to be retrieved from the classpath, i.e., from eitherhazelcast-spring.jar (or hazelcast-all.jar). See http://docs.hazelcast.org/docs/3.9.2/manual/html-single/index.html#enabling-spring-integration (see also the Troubleshooting section).

@Guillaume-Mayer
Copy link
Author

Thanks, I didn't know that the xsd files were in the classpath.
It works fine, but Eclipse still shows me an xml error (saw 301 moved permanently), is there a way to tell it to look on the classpath ?

@googlielmo
Copy link
Contributor

Yes, you should be able to edit the XML catalog in Eclipse in order to map a URL to a local resource, see
https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.wst.xmleditor.doc.user%2Ftopics%2Ftxmlcat.html

@googlielmo
Copy link
Contributor

Closing this as the original question was answered. Thanks and feel free to open a new issue anytime.

@Guillaume-Mayer
Copy link
Author

Thank you, great help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants