Mule 找不到元素';构造函数arg';
运行时出错:Mule 找不到元素';构造函数arg';,mule,mule-studio,Mule,Mule Studio,运行时出错: Caused by: org.xml.sax.SAXParseException; lineNumber: 34; columnNumber: 30; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'constructor-arg'. at org.apache.xerces.util.ErrorHandlerWrapp
Caused by: org.xml.sax.SAXParseException; lineNumber: 34; columnNumber: 30; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'constructor-arg'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
资料来源:
<spring:bean id="HandlerA_id" name="HandlerA" class="Handler">
<constructor-arg>
<ref bean="BeanA"></ref>
</constructor-arg>
</spring:bean>
如果检查该URL处的xsd,您可以看到构造函数arg标记对组beanElements有效,这是“bean”中允许的复杂类型之一
运行时是否在某些情况下无法正确验证XML?在标记中包含
spring:
前缀。ref标签也一样
"...http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd..."