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.
相關文章
- ERROR 1045 (28000): ProxySQL Error: 報錯ErrorSQL
- 【Redis】slaveof 報錯 Background transfer errorRedisError
- 網站報錯:“Database Server Error”網站DatabaseServerError
- pip install scrapy報錯:error: UnableError
- Ubuntu 系統 apt 報錯:relocation errorUbuntuAPTError
- weblogic報錯: OPatch failed with error code 73WebAIError
- ogg報錯error 11, Resource temporarily unavailableErrorAI
- 反序列 unserialize(): Error 報錯問題Error
- Oracle dataguard報錯:Error 1017 received logging on to the standbyOracleError
- linux系統報錯AER PCIe Bus ErrorLinuxError
- 執行flutter run命令報錯::ERROR: Could not connect to lockdownd, error code -17FlutterError
- appium start session 時報錯 Error executing adbExec. Original error 求指點APPSessionError
- VUE: npm run dev報錯Error: error:0308010C:digital envelope routines::unsupportedVueNPMdevErrorGit
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- 使用Boost庫報error C4996錯誤Error996
- 【ERROR】su user報'This account is currently not available'錯誤 for linuxErrorAILinux
- ssh-add 報錯:Error connecting to agent No such file or directoryError
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- win10 驅動簽名 報錯,Error =52Win10Error
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- AndroidStudio編譯時報錯Error:Please select Android SDKAndroid編譯Error
- MySQL建立觸發器時報錯Error Code: 1064MySql觸發器Error
- 19c ADG報錯Error 1094 attaching to RFS for reconnectError
- MySQL 5.6複製報錯Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;MySqlError
- ubuntu下pig報錯ERROR 2999: Unexpected internal error. Failed to create DataStorage的解決UbuntuErrorAIAST
- Error page: / Error infos: DedeCms錯誤警告Error
- 小程式 · 報錯:Error: errCode: -501007 ,errMsg: Invalid Key Name (__keyPath)Error
- Tomcat啟動報錯:Error starting static Resources解決方法TomcatError
- 使用mybatis報錯:Error setting non null for parameter #4 with JdbcType TIMESTAMPMyBatisErrorNullJDBC
- idea 報錯maven [ERROR] Maven execution terminated abnormally (exit code 1)IdeaMavenErrorORM
- deepspeed 訓練多機多卡報錯 ncclSystemError Last errorErrorAST
- Qt開發,報錯:Error while building/deploying project untitled (kit: ....)QTErrorWhileUIProject
- libtorch使用model.forward報std::runtime_error錯誤ForwardError
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- 終端報錯"xcrun: error: unable to find utility “xcodebuild”, not a developer tool orErrorXCodeUIDeveloper
- mysql匯入sql檔案報錯 ERROR 2013 2006 2002MySqlError
- MySQL8.0.28命中[ERROR][MY-013183]報錯案例分析MySqlError