Bug:java.lang.IllegalArgumentException: unknown document format for file:
使用openOffice將docx檔案轉換成pdf檔案報錯
原因:openoffice不相容docx等,無法識別,換03版的doc就可以的
專案部署的時候要將jodconverter換成2.2.2版本。因為maven中央倉庫沒有2.2.2版本。
使用2.2.2版本的原因:2.2.1版本不支援xlsx、docx、pptx格式的文件轉換pdf
相關文章
- libheif is an HEIF and AVIF file format decoder and encoderORM
- java.lang.IllegalArgumentException: Unsupported class file major version xx解決之道JavaException
- Failed: error reading separator after document # 1: bad JSON array format - found no opening brackAIErrorJSONORM
- oracle12.2 adg ORA-46952: standby database format mismatch for password fileOracleDatabaseORM
- Python BUG FileExistsError: [Errno 17] File exists: xxxPythonError
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- Format and un-format money/currency in JavaScriptORMJavaScript
- document,document.documentElement區別
- Json formatJSONORM
- 求助:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- document load 和 document ready 的區別
- document load 和document ready的區別?
- Elasticsearch DocumentElasticsearch
- QML Document
- Document物件物件
- Unknown custom element: <> -
- set excel formatExcelORM
- 你不知道的document和document.documentElement
- 解決:java.lang.IllegalArgumentException: String must not be emptyJavaException
- java.lang.IllegalArgumentException at java.sql.Date.getHoursJavaExceptionSQL
- Caused by: java.lang.IllegalArgumentException: port out of range:-1JavaException
- JavaScript document物件JavaScript物件
- document.getElementsByName()
- document.createElement()
- create-a-document
- document.domainAI
- document.fullscreenEnabled
- document.createDocumentFragment()Fragment
- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a `ios` simulator (valid values:ErroriOS
- 問題解決:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- [vuex] unknown action typeVue
- Unknown Mother-GooseGo
- mysql Unknown error 1054MySqlError
- vim Google style formatGoORM
- [Ruby]format xml with RubyORMXML
- oracle工具 awr formatOracleORM
- Swift 5.0 值得關注的特性:Handle unknown values using "@unknown default"Swift
- Caused by: java.lang.IllegalArgumentException: Unable to instantiate SparkSession with Hive supportJavaExceptionSparkSessionHive