POI 編輯超連結異常 URISyntaxException Address of hyperlink must be a valid URI
最近編輯超連結的時候發現總是會有這個異常,找了找國內部落格沒找到什麼有價值的資訊,於是在google上發現幾篇文章,說的都是url格式不符合poi的校驗。只有SXSSF才會有這個問題,HSSF不會有。
解決的辦法無非都是把自己的url來適配poi的格式校驗
我這裡的做法是把url轉換為短連線,用的是百度的短連線轉換介面(免費的),但是百度的短連線轉換介面有的連線轉換不了。於是只能把這種url捨棄了。不知道大神們有沒有別的辦法,把url強制新增成超連結?
特此記錄
相關推薦
POI 編輯超連結異常 URISyntaxException Address of hyperlink must be a valid URI
最近編輯超連結的時候發現總是會有這個異常,找了找國內部落格沒找到什麼有價值的資訊,於是在google上發現幾篇文章,說的都是url格式不符合poi的校驗。只有SXSSF才會有這個問題,HSSF不會有。 解決的辦法無非都是把自己的url來適配
擾人的異常2: Input length must be multiple of 8 when decrypting with padded cipher
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipherat com.sun.crypto.provider.C
Django URLs error: view must be a callable or a list/tuple in the case of include()
mean see ews patch port code eve con pattern Django 1.10 no longer allows you to specify views as a string (e.g. ‘myapp.views.home‘) in y
異常:Unknown lifecycle phase "mvn". You must specify a valid lifecycle
color 啟動 fault 修改 compile spring col pre lifecycle 這是在使用maven打包方式啟動springboot項目時出現的異常, 我的異常原因屬於下面的情況: 此時maven指令行為:mvn spring-boot:run. 如果
Python_異常:TypeError: write() argument must be str, not list
src txt -c file 技術分享 line ffffff code err 文件寫入操作時,報錯:TypeError: write() argument must be str, not list 原因:python寫入的內容要是字符串類型的 上代碼: fp = o
Type of the default value for 'searches' prop must be a function 如何解決vue中報出的這種錯誤
https://google.com/#q=vue%2Frequire-valid-default-prop Type of the default value for 'searches' prop must be a function src/base/s
eclipse 提示錯誤The method xxx of type must override a superclass method解決方式
java1.5中繼承介面是不需要@Override的,而在1.6中是需要新增@Override註解的,如果專案的編譯器是1.5版本的就可能報錯The method xxx of type must override a superclass method. 解決此問題的辦法是修改java編譯器的
TypeError: isinstance() arg 2 must be a type or tuple of types
TypeError: isinstance() arg 2 must be a type or tuple of types 在進行資料庫遷移的時候,我們有時候會很倒黴的碰到這種情況,不要著急,其實解決方案很簡單(親測) 其實主要的原因就是,你在進行資料庫遷移的時候,比如,你有一
實際開發中String轉換為json串作為入參發生"JSON parse error:Cannot deserialize value of type Date......not a valid解決
實際開發中,String拼接成json串作為入參請求介面,發生以下錯誤 { "timestamp": "2018-11-09 14:55:49", "status": 400, "error": "Bad R
he method of type must override a superclass method解決方式
工程匯入myeclipse時,出現問題提示:The method of type must override asuperclass? annotation:@Override的原因 查閱了一下資料,發現說在jdk1.5下要使用@Override 這個annotation 必須保證
Uncaught TypeError: Path must be a string. Received undefined, only one instance of babel-polyfill..
命令列使用$ atom . 開啟atom,atom介面提示如題所示錯誤,原因是相關的package啟用導致的,根據具體錯誤的提示,找到atom的配置中相應的包,將其禁用即可。實際我禁用的是atom-css-comb 3.3.1和 remote-edit 1.9.0 參考地址:https://
python3 TypeError: Incorrect type of self (must be 'Feature2D' or its derivative)
問題:在用python3使用orb = cv2.ORB()進行ORB時候,可能會產生錯誤:TypeError: Incorrect type of self (must be 'Feature2D' or its derivative) import numpy as np import cv2
ScrollView中EditText報java.lang.IllegalArgumentException: parameter must be a descendant of this view
在ScrollView中巢狀RecyclerView,其中RecyclerView的item條目中如果有EditText,在輸入文字後,出現介面退出,並報如下類似錯誤: Process: com.yuguo.thecarpenter.thecarpenterrepair
錯誤 java.lang.IllegalArgumentException: parameter must be a descendant of this view 的解決方案
bug資訊: 10-16 17:27:20.250: D/AndroidRuntime(14662): Shutting down VM 10-16 17:27:20.250: W/dalvikvm(14662): threadid=1: thread exiting wi
【Tensorflow】ValueError: The `kernel_size` argument must be a tuple of 1 integers. Received: [3, 3]
使用 tensorflow.contrib.slim 搭建卷積神經網路進行圖片識別,圖片inputs維度為[299,299,3],使用語句如下: net = slim.conv2d(inputs, 32, [3, 3], stride=2, scope='Conv2d_l
POI操作Excel---給單元格新增超連結(HSSF & XSSF & SXSSF)
1、xls格式---(HSSF) HSSFWorkbook workbook = new HSSFWorkbook(); HSSFSheet sheet = workbook.createSheet("新增超連結"); HSSFRow row = sheet.createRow(
RichEditor——一款基於RecyclerView實現的富文字編輯器實現方案(支援圖文、轉義生成MarkDown、粗體、斜體、下劃線、刪除線、超連結、標題等)
前言 對於富文字編輯器的實現,首先我們肯定會想到實現的編輯器需要支援的幾個必要特性: 1.涉及大量文字,圖片,文字樣式的展示與編輯。 2.涉及極其複雜的使用者互動。 目前Github上我所瞭解的富文字編輯器基本上實現方式基於兩種: * 1.基於WebView
POI匯出excel時,當有大量超連結存在,匯出速度慢
最近修改專案,發現用SXSSF匯出的excel有大量超連結的時候,寫檔案的速度會非常慢 後來查了谷歌,發現是jar包的BUG,不要使用3.10以下的jar包,我用的3.12的jar包就不存在這個問題了
富文字編輯器UEditor自定義工具欄(一、基礎配置與字型、背景色、行間距、超連結實現)
導讀:UEditor 是由百度「FEX前端研發團隊」開發的所見即所得富文字web編輯器,功能強大,可定製,是一款優秀的國產線上富文字編輯器,編輯器內可插入圖片、音訊、視訊等。 一、UEditor自定義工具欄效果圖如下: 二、UEditor富文字編輯器環境搭建及專案引用 環境搭建不再贅述,請自行查閱或者參考以
poi操作execl如何在cell裡做一個超連結訪問當前路徑資料夾或檔案
這個是設定一個超連結彈出email地址, 其他類似 import java.io.FileOutputStream; import org.apache.poi.ss.usermodel;