Hi,

I think I have sovled this problem. I use eclipse for development.
Firstly, I saw this page(
http://tuscany.apache.org/documentation-2x/sca-java-runtime-overview.html ),

  and copyed the core jars writed on the page to WEB-INF/lib.
I execute my jsp, read the exception message and find the classes in
exception message
  and copy them to WEB-INF/lib.
Now it works.  So I guess this problem is cause by jar lib conflict.
This may be a stupid way and maybe I should learn maven ?

The following is the jar file list in WEB-INF/lib
m5-asm-3.1.jar
m5-axiom-api-1.2.8.jar
m5-axiom-impl-1.2.8.jar
m5-axis2-codegen-1.5.1.jar
m5-axis2-kernel-1.5.1.jar
m5-axis2-transport-base-1.0.0.jar
m5-axis2-transport-http-1.5.1.jar
m5-axis2-transport-local-1.5.1.jar
m5-cglib-2.2.jar
m5-commons-codec-1.3.jar
m5-commons-fileupload-1.2.jar
m5-commons-httpclient-3.1.jar
m5-commons-logging-1.1.1.jar
m5-dwr-2.0.3.jar
m5-httpcore-4.0.1.jar
m5-mail-1.4.jar
m5-neethi-2.0.4.jar
m5-rampart-core-1.4.jar
m5-rampart-policy-1.4.jar
m5-tuscany-assembly-2.0-M5.jar
m5-tuscany-assembly-xml-2.0-M5.jar
m5-tuscany-assembly-xsd-2.0-M5.jar
m5-tuscany-binding-sca-runtime-2.0-M5.jar
m5-tuscany-binding-ws-2.0-M5.jar
m5-tuscany-binding-ws-runtime-axis2-2.0-M5.jar
m5-tuscany-binding-ws-wsdlgen-2.0-M5.jar
m5-tuscany-builder-2.0-M5.jar
m5-tuscany-common-java-2.0-M5.jar
m5-tuscany-common-xml-2.0-M5.jar
m5-tuscany-contribution-2.0-M5.jar
m5-tuscany-core-2.0-M5.jar
m5-tuscany-core-databinding-2.0-M5.jar
m5-tuscany-core-spi-2.0-M5.jar
m5-tuscany-databinding-2.0-M5.jar
m5-tuscany-databinding-axiom-2.0-M5.jar
m5-tuscany-databinding-jaxb-2.0-M5.jar
m5-tuscany-databinding-jaxb-axiom-2.0-M5.jar
m5-tuscany-deployment-2.0-M5.jar
m5-tuscany-extensibility-2.0-M5.jar
m5-tuscany-extensibility-equinox-2.0-M5.jar
m5-tuscany-host-http-2.0-M5.jar
m5-tuscany-host-webapp-2.0-M5.jar
m5-tuscany-implementation-java-2.0-M5.jar
m5-tuscany-implementation-java-runtime-2.0-M5.jar
m5-tuscany-implementation-web-2.0-M5.jar
m5-tuscany-implementation-web-client-2.0-M5.jar
m5-tuscany-implementation-web-runtime-2.0-M5.jar
m5-tuscany-interface-java-2.0-M5.jar
m5-tuscany-interface-java-jaxws-2.0-M5.jar
m5-tuscany-interface-wsdl-2.0-M5.jar
m5-tuscany-launcher-2.0-M5.jar
m5-tuscany-monitor-2.0-M5.jar
m5-tuscany-node-api-2.0-M5.jar
m5-tuscany-node-impl-2.0-M5.jar
m5-tuscany-node-impl-osgi-2.0-M5.jar
m5-tuscany-node-launcher-2.0-M5.jar
m5-tuscany-node-launcher-equinox-2.0-M5.jar
m5-tuscany-policy-security-2.0-M5.jar
m5-tuscany-sca-api-2.0-M5.jar
m5-tuscany-sca-client-impl-2.0-M5.jar
m5-tuscany-xsd-2.0-M5.jar
m5-woden-api-1.0M8.jar
m5-wsdl4j-1.6.2.jar
m5-wss4j-1.5.4.jar
m5-XmlSchema-1.4.3.jar

Thanks,
Tyrone

Reply via email to