[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp.sca-tools] Re: About SCA Tools question

Hi Kevin,

The composite file isn't in your classpath. Try to add the location of your assembly file in the classpath.

Best regards,

Stephane Drapeau
Obeo

KevinWang a écrit :
Hello : When I using Eclipse3.5RC2 to do SCA Project,but it give me a problem.
by the way, when I design that SCA Diagram, I have no any error include xxxx.composite_diagram file and Java source and xxxx.composite file.
When I run that project, the error message is........


2009/6/6 €W€È 02:20:26 org.apache.tuscany.sca.node.impl.NodeImpl <init>
žê°T: Creating node: Restaurant.composite
Exception in thread "main" org.osoa.sca.ServiceRuntimeException: java.lang.IllegalArgumentException: Composite not found: Restaurant.composite
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:171)
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:37)


at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:175)

at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:97)

at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:182)

at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:63)

at test.Client.main(Client.java:11)
Caused by: java.lang.IllegalArgumentException: Composite not found: Restaurant.composite
at org.apache.tuscany.sca.node.impl.NodeImpl.findNodeConfiguration(NodeImpl.java:197)


    at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
    ... 6 more