You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sure that all the content I provide is in English.
Search before asking
I had searched in the issues and found no similar issues.
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
dubbo: 2.7.15
openjdk version "1.8.0_252"
CentOS release 6.10 (Final)
Steps to reproduce this issue
spring 配置文件中写 https://dubbo.apache.org/schema/dubbo/dubbo.xsd 在访问dubbo.apache.org网络不畅的情况下会导致服务启动失败 Offending resource: class path resource [applicationContext.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 10 in XML document from class path resource [dubbo-consumer.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 52; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:consumer'.
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
dubbo: 2.7.15
openjdk version "1.8.0_252"
CentOS release 6.10 (Final)
Steps to reproduce this issue
spring 配置文件中写 https://dubbo.apache.org/schema/dubbo/dubbo.xsd 在访问dubbo.apache.org网络不畅的情况下会导致服务启动失败
Offending resource: class path resource [applicationContext.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 10 in XML document from class path resource [dubbo-consumer.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 52; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:consumer'.
What you expected to happen
配置文件中可以写
xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
或者
xmlns:dubbo="https://dubbo.apache.org/schema/dubbo"
http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd
https://dubbo.apache.org/schema/dubbo https://dubbo.apache.org/schema/dubbo/dubbo.xsd
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: