On Sat, Jul 18, 2009 at 3:00 AM, Nishant
Chandra<[email protected]> wrote:
> Hi,
> I started using Tuscany 2.0 M2 release along with eclipse plugin. I see this
> error while running the "Restaurant" example from eclipse (SCA Tools
> v2.0.0):
> Deploying contentmoderation.composite...
> java.lang.ClassNotFoundException:
> org.apache.tuscany.sca.host.embedded.SCADomain
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Unknown Source)
>  at
> org.eclipse.stp.sca.deployment.mains.TuscanyMain1x.main(TuscanyMain1x.java:32)
> I also tried running the "tuscany.bat" file but that also gives the
> following error : "goto was unexpected at this time".
> Is there some user documentation for 2.0 M2 release? how can I run this
> example with/without eclipse?
> Please help.
>

We haven't ported the Tuscany Eclipse plugin to 2.x Release yet, the
easiest options to run the Tuscany samples would be:

   - From the binary distribution, run using the provided ant scripts
or following the steps on the README file for the OSGi specific
samples
   - From the source distribution, use maven to generate Eclipse IDE
project files and run the testcases or client from Eclipse (see our
dev guide for this)

Tuscany 2.x Documentation is available in :

   - http://cwiki.apache.org/confluence/display/TUSCANYxDOCx2x/Index



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to