配置struts2时,出现org.apache.xalan.processor.TransformerFactoryImpl not found错误
原因:jdk1.5 与 tomcat5.0之间的关于 TransformerFactoryImpl 类的冲突造成的
解决办法:
网上找到的:下载“xalan系列jar包”,下载地址:http://www.apache.org/dyn/closer.cgi/xml/xalan-j,
然后将tomcat中目录下:/tomcat/common/endorsed/(xercesImpl.jar和xml-apis.jar)删掉,然后将下载的xalan系列jar包(包括serializer.jar、xalan.jar、xercesImpl.jar、xml-apis.jar、xsltc.jar)拷贝到/tomcat/common/endorsed目录
自己解决的办法:
将Tomcat换成6.0,问题解决。
struts2配置问题
最新推荐文章于 2024-08-09 16:47:07 发布