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

Reply via email to