About SCA Tools question [message #8844] |
Fri, 05 June 2009 14:21  |
Eclipse User |
|
|
|
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.createSCANo deFromClassLoader(NodeFactoryImpl.java:37)
at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.i nit(DefaultSCADomain.java:175)
at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init >(DefaultSCADomain.java:97)
at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInst ance(SCADomain.java:182)
at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(S CADomain.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.findNodeConfigurat ion(NodeImpl.java:197)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
... 6 more
|
|
|
Re: About SCA Tools question [message #8889 is a reply to message #8844] |
Mon, 08 June 2009 05:33  |
Eclipse User |
|
|
|
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.createSCANo deFromClassLoader(NodeFactoryImpl.java:37)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.i nit(DefaultSCADomain.java:175)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init >(DefaultSCADomain.java:97)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInst ance(SCADomain.java:182)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(S CADomain.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.findNodeConfigurat ion(NodeImpl.java:197)
>
> at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
> ... 6 more
>
>
>
|
|
|
Re: About SCA Tools question [message #575268 is a reply to message #8844] |
Mon, 08 June 2009 05:33  |
Eclipse User |
|
|
|
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.createSCANo deFromClassLoader(NodeFactoryImpl.java:37)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.i nit(DefaultSCADomain.java:175)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init >(DefaultSCADomain.java:97)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInst ance(SCADomain.java:182)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(S CADomain.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.findNodeConfigurat ion(NodeImpl.java:197)
>
> at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:166)
> ... 6 more
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02945 seconds