Can't find sitewhere.xsd
Execuse me, we couldn't launch sitewhere version1.13.0, error in finding link http://www.sitewhere.com/schema/sitewhere/ce http://www.sitewhere.org/schema/sitewhere/ce/current/sitewhere.xsd how to fix it? thank you very much!
I was not able to reproduce the issue with launching SiteWhere 1.13.0. Even though the URL is no longer valid (sitewhere.org has been replaced with sitewhere.io), the schema resolver should be using the internal schemas packaged with the server instead of resolving them via the web. Can you provide the stack trace you are getting so we can attempt to debug further?
Note that SiteWhere 1.x has reached end-of-life at this point, so we no longer officially support it. We highly recommend moving to SiteWhere 2.1 as an alternative.
Thank you very much! but we can't find sitewhere.xsd in sitewhere.io, can you help us find it?
Here is the stack trace:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from InputStream resource [resource loaded through InputStream] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://www.sitewhere.org/schema/sitewhere/ce/current/sitewhere.xsd; lineNumber: 1; columnNumber: 28; s4s-elt-character: 方案元素中不允许出现除 'xs:appinfo' 和 'xs:documentation' 之外的非空格字符。发现了 'Object moved'。
------------------ 原始邮件 ------------------ 发件人: "Derek Adams"[email protected]; 发送时间: 2019年9月10日(星期二) 下午4:58 收件人: "sitewhere/sitewhere"[email protected]; 抄送: "邓大伟"[email protected];"Author"[email protected]; 主题: Re: [sitewhere/sitewhere] Can't find sitewhere.xsd (#779)
I was not able to reproduce the issue with launching SiteWhere 1.13.0. Even though the URL is no longer valid (sitewhere.org has been replaced with sitewhere.io), the schema resolver should be using the internal schemas packaged with the server instead of resolving them via the web. Can you provide the stack trace you are getting so we can attempt to debug further?
Note that SiteWhere 1.x has reached end-of-life at this point, so we no longer officially support it. We highly recommend moving to SiteWhere 2.1 as an alternative.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
It's no longer available on the web, but you can access the schema content here:
https://github.com/sitewhere/sitewhere/blob/sitewhere-1.13.0/sitewhere-spring-spi/src/main/resources/META-INF/sitewhere.xsd
Are you using a modified version of the server? It should first try to find the schema internally before attempting to resolve via the web.
Thank you very much!
but in sitewhere-server.xml
xmlns:sw="http://www.sitewhere.com/schema/sitewhere/ce" , the link couldn't find how to fix it?
------------------ 原始邮件 ------------------ 发件人: "Derek Adams"[email protected]; 发送时间: 2019年9月10日(星期二) 下午5:16 收件人: "sitewhere/sitewhere"[email protected]; 抄送: "邓大伟"[email protected];"Author"[email protected]; 主题: Re: [sitewhere/sitewhere] Can't find sitewhere.xsd (#779)
It's no longer available on the web, but you can access the schema content here:
https://github.com/sitewhere/sitewhere/blob/sitewhere-1.13.0/sitewhere-spring-spi/src/main/resources/META-INF/sitewhere.xsd
Are you using a modified version of the server? It should first try to find the schema internally before attempting to resolve via the web.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.