SCA tuscany 2.0如何成功运行store

110 views
Skip to first unread message

Alex Zhou

unread,
Sep 6, 2013, 3:20:32 PM9/6/13
to tuscany-s...@googlegroups.com
我是新手, 我按照如下的步骤,只是我用的是TUSCANY 2.0
http://tuscany.apache.org/getting-started-with-tuscany.html
但是一直提示
SEVERE: Component type service not found for component service (missing @Remotable annotation?): Component = store Service = Widget
Exception in thread "main" java.lang.IllegalStateException: org.oasisopen.sca.ServiceRuntimeException: [Composite: {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: store] - Component type service not found for component service (missing @Remotable annotation?): Component = store Service = Widget
at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:178)
at launch.Launch.main(Launch.java:13)
Caused by: org.oasisopen.sca.ServiceRuntimeException: [Composite: {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: store] - Component type service not found for component service (missing @Remotable annotation?): Component = store Service = Widget
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.analyzeProblems(NodeFactoryImpl.java:203)
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.configureNode(NodeFactoryImpl.java:315)
at org.apache.tuscany.sca.node.impl.NodeImpl.load(NodeImpl.java:202)
at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:118)
... 1 more

怎么办?

moirar

unread,
Jan 1, 2014, 8:15:15 PM1/1/14
to tuscany-s...@googlegroups.com
同问,请问lz解决了么

Alex Zhou

unread,
Jan 3, 2014, 4:05:42 AM1/3/14
to tuscany-s...@googlegroups.com
可以用了

moirar

unread,
Jan 5, 2014, 10:03:44 PM1/5/14
to tuscany-s...@googlegroups.com
http://tuscany.apache.org/getting-started-with-tuscany.html我按照这个步骤可以成功运行store,但是用的Tuscany1.6

然后把store代码换成Tuscany2.0里store例子的代码,相关库为Tuscany2.0 运行的时候和lz报一样的错,请问lz后来怎么解决的呢~~ 

在 2014年1月3日星期五UTC+8下午5时05分42秒,Alex Zhou写道:
可以用了
Reply all
Reply to author
Forward
0 new messages