Re: 遇到一个问题,求各位大哥帮忙进来看看。

52 views
Skip to first unread message

Raymond Feng

unread,
Oct 24, 2012, 12:46:36 AM10/24/12
to tuscany-s...@googlegroups.com
The <contribution> element cannot have targetNamespace attribute. Can you check sca-contribution.xml to make sure it's valid in syntax?

在 2012年10月23日星期二UTC-7下午8时36分34秒,Bo Chen写道:
我把项目部署到tomcat之后用浏览器访问http://localhost:8080/ssh/BankService?wsdl根本没用。
启动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 这个的问题。是不是我的配置文件哪里配置错误了。
谢谢
Reply all
Reply to author
Forward
0 new messages