The <contribution> element cannot have targetNamespace attribute. Can you check sca-contribution.xml to make sure it's valid in syntax?
启动tomcat的时候控制台输出:
--------------
信息: Creating node: null
2012-10-24 11:26:52 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
信息: Loading contribution: file:/D:/Tomcat%206.0/webapps/ssh/
2012-10-24 11:26:52 org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
严重: XMLSchema validation error occured in: null ,line = 2, column = 1, Message = cvc-complex-type.3.2.2: Attribute 'targetNamespace' is not allowed to appear in element 'contribution'.
2012-10-24 11:26:54 org.apache.tuscany.sca.node.impl.NodeImpl start
信息: Starting node: null
----------
应该是Creating node: null 这个的问题。是不是我的配置文件哪里配置错误了。
谢谢