One thing I have noticed is the "-U" while it helps is not always affective
(maven bug?) sometimes it becomes necessary to just wipe out your local maven
repository.
ant elder wrote:
Really sorry you're having so much trouble, FWIW, I've just done a complete
clean and build and it works for me now after fixing a couple of problems
which I've commit fixes for, but i don't think they were anything to do
with
the problems you're seeing. There are issues with the Axis2 SNAPSHOT
dependencies we have. Could you have another try now with a checkout of the
latest code and building with mvn -U. If it still doesn't work could you
join our IRC channel so we can find out more about whats going wrong? -
#tuscany on freenode, see
http://incubator.apache.org/tuscany/get-involved.html.
Thanks,
...ant
On 10/18/06, Adriano Crestani <[EMAIL PROTECTED]> wrote:
I tried what Venkata Krishnan told in thread
http://www.mail-archive.com/[email protected]/msg09789.html
that I
should execute mvn with the options "-fae", but anyway I got many errors.
So
I decided to try to compile the project again, and again I got the same
missing classes I also described in thread
http://www.mail-archive.com/[email protected]/msg09789.html. Then
I
decided to search in the .m2/repository for the missing classes and I
started for the missing classes of axis2 project:
org.apache.axiom.om.OMElement
org.apache.axis2.AxisFault
org.apache.axis2.context.MessageContext
org.apache.axis2.receivers.AbstractInMessageReceiver
org.apache.tuscany.spi.smodel.Operation
org.apache.tuscany.spi.wire.InvocationRuntimeException
So I found 3 .jar that had the packages:
org.apache.axiom - C:\Documents and
Settings\ADR\.m2\repository\org\apache\ws\commons\axiom\axiom-api\SNAPSHOT\axiom-
api-SNAPSHOT.jar
org.apache.axis2 - C:\Documents and
Settings\ADR\.m2\repository\org\apache\axis2\axis2-kernel\SNAPSHOT\axis2-
kernel-SNAPSHOT.jar
org.apache.tuscany.spi - C:\Documents and
Settings\ADR\.m2\repository\org\apache\tuscany\sca\kernel\tuscany-spi\1.0-incubator-M2-SNAPSHOT\tuscany-
spi-1.0-incubator-M2-SNAPSHOT.jar
Then I imported these 3 .jar manually. The first 2 seemed to work
correctly, but the third one had a conflict in class
org.apache.tuscany.binding.axis2.Axis2ServiceInMessageReceiver - "The
type
org.osoa.sca.ServiceRuntimeException cannot be resolved. It is directly
referenced from required .class files." - that I'm not getting its
meaning.
Another problem with this last .jar is the class
org.apache.tuscany.spi.smodel.Operation isn't inside this .jar, cause
there
is no "smodel" package and instead of it there is the "model" package. I
wonder if I am importing the right package or instead of "smodel" should
be
"model".
Adriano Crestani
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]