尝试在Apache Tomcat服务器上部署应用程序时出现以下错误。我使用的是Apache Tomcat 8.0.32和JDK 1.8.0_131。
SEVERE: Servlet [portalsim] in web application [/portalsim] threw load() exception
java.util.ServiceConfigurationError: javax.xml.transform.TransformerFactory: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at java.util.ServiceLoader.fail(Unknown Source)
at java.util.ServiceLoader.access$300(Unknown Source)
at java.util.ServiceLoader$LazyIterator.nextService(Unknown Source)
at java.util.ServiceLoader$LazyIterator.next(Unknown Source)