本来一开始还能用,后来就不行了,没做任何其他设置,求解析(文件位置无变动)
你的这个地址不对啊
$serverURL+$contextPath+"/LTCW/HR_BQK_2.0.xlsx"
得到http://localhost:8075/webroot/decision/view/LTCW/HR_BQK_2.0.xlsx
正常是:http://localhost:8075/webroot/decision/view/report?viewlet=/LTCW/HR_BQK_2.0.xlsx
少了中间这么一段/report?viewlet=
试试这个方式
https://help.fanruan.com/finereport/doc-view-2541.html