I just learned how to configure the Web service according to the help document of myeclipse. If the title is incorrect, I have to query it online to find out why.
Error cause:
It is considered that the conflict between jdk1.5 and tomcat5.0 regarding the transformerfactoryimpl class is caused.
Tomcat-5.0.28/common/endorsed has two jar packages: xercesimpl. jar and xml-apis.jar, where the class javax. XML. transform. the class Org. apache. xalan. processor. transformerfactoryimpl is actually the same class.
In Tomcat Java is called with the following argument:
-Djava. endorsed. dirs = "X:/my_app/portal/tomcat/common/endorsed"
In this directory you find two jar files: xercesimpl. jar and xml-apis.jar needed by Tomcat and that must be loaded before all xmsl stuff present in the JDK (1.4 naming problem ). and in the file xml-apis.jar the transformerfactoryimpl is set to "org. apache. xalan. processor. transformerfactoryimpl ".
Solution:
1. Remove the xml-apis.jar from the endorsed folder.
2. Replace the xercesimpl. jar and xml-apis.jar with the xalan jar package.
Xalan series jar packages: serializer. jar, xalan. jar, xercesimpl. jar and xml-apis.jar.
3. For other application, just check this file or dom3-xml-apis.jar in your class path.
If you do not, use JDK 1.4 and tomcat.
Or jdk1.5 tomcat5.5 is the matching type.