WebService exception provider org. Apache. xalan. processor. transformerfactoryimpl not found!

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.