Hi,

I finally did it :), but I couldn't do in a way you suggested, as I couldn't 
build all tuscany modules. Many of the modules were skipped for some reason, so 
I didn't have a jar file for each module. As the result I have another problem

Exception in thread "main" org.oasisopen.sca.ServiceRuntimeException: 
java.lang.ClassNotFoundException: 
org.apache.tuscany.sca.node.impl.NodeFactoryImpl

Then I downloaded tuscany 2.x SNAPSHOT instead of tuscany 2.x M4 that I used 
before, and finally it works. I can continue my work now.

Thank you again for your help.

Zoran




________________________________
From: Luciano Resende <[email protected]>
To: [email protected]
Sent: Sat, March 13, 2010 1:49:38 AM
Subject: Re: javascript client

On Fri, Mar 12, 2010 at 3:11 PM, Zoran Jeremic <[email protected]> wrote:
> I still have the same error with the code you sent to me. I have installed
> maven2 plugin for eclipse and when running project with it, the following
> error is displayed:
>
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   The project
> org.apache.tuscany.sca:sample-intelleo-lpc:2.0-SNAPSHOT (F:\source
> folder\IntelLEO 2\intelleo_lpc\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM
> org.apache.tuscany.sca:tuscany-sca:2.0-SNAPSHOT for
> org.apache.tuscany.sca:sample-intelleo-lpc:2.0-SNAPSHOT: Failed to resolve
> POM for org.apache.tuscany.sca:tuscany-sca:2.0-SNAPSHOT due to Missing:
> ----------
> 1) org.apache.tuscany.sca:tuscany-sca:pom:2.0-SNAPSHOT
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.tuscany.sca:tuscany-sca:pom:2.0-SNAPSHOT

You would need to first checkout 2.x source and build

svn co https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/ java-sca-2.x
cd java-sca-2.x
mvn -N clean install
cd modules
mvn -fae clean install

then go to the project i sent you (the webapp one)
and try

mvn clean install

More details at
http://cwiki.apache.org/confluence/display/TUSCANYxDOCx2x/SCA+Java+Development+Guide


-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/



      

Reply via email to