struts2報Error filterStart錯
由於jdk1.5 與 tomcat5.0之間的關於 TransformerFactoryImpl 類的衝突造成的。
tomcat-5.0.28\common\endorsed下有兩個jar包:xercesImpl.jar和xml-apis.jar,其中的類 javax.xml.transform.TransformerFactory 與jdk1.5中的類org.apache.xalan.processor.TransformerFactoryImpl其實是同一個類。
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".
解決辦法:
1. 將xml-apis.jar移出endorsed資料夾。
2. 用xalan系列jar包替換原來的xercesImpl.jar和xml-apis.jar。
xalan系列jar包:serializer.jar、xalan.jar、xercesImpl.jar和xml-apis.jar。
3. For other application, just check this file or dom3-xml-apis.jar in your class path.
相關文章
- vipca報錯 Error 0PCAError
- ERROR 1045 (28000): ProxySQL Error: 報錯ErrorSQL
- MYSQL SOURCE報錯 ERROR: ASCIIMySqlErrorASCII
- mysql報錯ERROR 1093MySqlError
- 【Redis】slaveof 報錯 Background transfer errorRedisError
- Oracle安裝報錯syntax errorOracleError
- Ubuntu 系統 apt 報錯:relocation errorUbuntuAPTError
- pip install scrapy報錯:error: UnableError
- MySQL報錯 Error_code: 1045MySqlError
- weblogic報錯: OPatch failed with error code 73WebAIError
- redis報錯Windows error 0x70RedisWindowsError
- ogg報錯error 11, Resource temporarily unavailableErrorAI
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- linux系統報錯AER PCIe Bus ErrorLinuxError
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- 執行flutter run命令報錯::ERROR: Could not connect to lockdownd, error code -17FlutterError
- 使用Boost庫報error C4996錯誤Error996
- win10 驅動簽名 報錯,Error =52Win10Error
- lsnrctl啟動報錯,Linux Error: 29: Illegal seekLinuxError
- Mysql報錯Fatal error:Can't open and lock privilege tablesMySqlError
- [iOS]提交App報錯ERROR ITMS -90207iOSAPPError
- PHP報錯:?configure: error: Cannot find libmysqlclientPHPErrorIBMMySqlclient
- SQL SERVE報錯"SQLNCLI" 返回了訊息 "Unspecified error"SQLError
- Server Application Error報錯資訊的解決方案ServerAPPError
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- 【ERROR】su user報'This account is currently not available'錯誤 for linuxErrorAILinux
- 打補丁報錯Opatch error : "Unable to lock Central InventoryError
- Fatal NI connect error 12170.報錯處理Error
- shell 指令碼報錯^M: syntax error near unexpected token指令碼Error
- 解決報錯error the @annotation pointcut expression is only supported at Java 5ErrorExpressJava
- MySQL 5.6複製報錯Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;MySqlError
- 10g GC 啟動oms報錯Unexpected error occurred. Check error and log files.GCError
- EBS 克隆,密碼大小寫敏感導致白屏或報錯 HTTP error 500 Internal server error密碼HTTPErrorServer
- Uncaught Error: Bootstrap‘s JavaScript requires jQuery報錯問題解決ErrorbootJavaScriptUIjQuery
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- git push報錯error: failed to push some refs to 'git@github.com:ErrorAIGithub
- 終端報錯"xcrun: error: unable to find utility “xcodebuild”, not a developer tool orErrorXCodeUIDeveloper
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError