http500错误
http 500内部服务器错误,请与管理员联系。
请尝试以下操作:
·打开
主页
,然后查找指向您感兴趣信息的链接。
·单击
后退
链接,尝试其他链接。
错误:org.apache.jasper.JasperException: An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115 112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠� 113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚� 114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢 115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴� 116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖� 117: int len; 118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇 Stacktrace:
错误码:500
信息:
异常:null
exception:org.apache.jasper.JasperException: An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115 112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠� 113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚� 114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢 115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴� 116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖� 117: int len; 118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇 Stacktrace:
cause:java.io.FileNotFoundException: D:\Magtech\app\Jwk_tpyxb\.\fileup\PDF\20191006.pdf (系统找不到指定的文件。)
message:An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115 112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠� 113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚� 114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢 115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴� 116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖� 117: int len; 118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇 Stacktrace:
localizedMessage:An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115 112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠� 113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚� 114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢 115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴� 116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖� 117: int len; 118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇 Stacktrace:
stackTrace:[Ljava.lang.StackTraceElement;@419dcf22