原创 webservice對接遠程服務端接口

公司需求對接第三方接口,使用webservice,初次使用特此記錄,以作後期學習。 eclipse開發 一。創建webservice客戶端 首先向對方要.wsdl文件(文件放到項目中)或?WSDL路徑 項目右擊     上圖中ser

原创 idea配置本地tomcat控制檯亂碼

  最後添加 -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8然後重啓idea

原创 EasyUI 的dialog失效

使用 EasyUI 的dialog({})方法失效 原因: 沒有引相應的j或css包

原创 Could not initialize class freemarker.core.BuiltIn

問題: 項目運行報錯 org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lan

原创 navicat Premium及Microsoft SQL Server Management Studio還原SQL Server備份數據(.bat)

一.naicat  備註:文件樣式,無法訪問可複習到其他地方   Microsoft SQL Server\Microsoft SQL Server2008\MSSQL10.MSSQLSERVER\MSSQL\DATA      

原创 JAVA二維數組與稀疏數組轉換,保存稀疏數組到磁盤聯繫筆記

public static void main(String[] args){         int array1[][] = new int[11][11];         array1[1][5] = 1;         arr

原创 css ,js無效報錯

Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8080/**/**/css/style.css

原创 ssm maven項目 maven打包會漏掉mybatis的Mapper.xml文件

由於MAVEN的機制,打包時會過濾掉mapper.xml文件。可以解決方法一,講.xml文件存放在文件下二,在pom.xml文件中的</build>標籤中添加一下<resources>              <resource>   

原创 ailiyun上傳報錯:com.aliyuncs.exceptions.ClientException: SDK.ServerUnreachable

獲取ailiyun圖片上傳報錯:2018-05-10  18:48:00.601 [http-nio-8080-exec-2] INFO  org.apache.http.impl.execchain.RetryExec - Retryi

原创 JS中正則失效

注意轉移符號

原创 eclipse熱部署

取消勾選 ———》 ok

原创 java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener

maven項目起到報錯java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener個人解決方法:刪除後 按

原创 雙引號內的單引號轉義

多引號內的單引號轉義 &apos;--》單引號轉義 &quot;--》雙引號 thtml+="<input type='text' autocomplete='off' value='' name='selGetDate' id='st

原创 Java+FlexPaper+swfTools讀取中文文檔

注意:顯示頁面區別: SwfFile : decodeURI('<%=swfFilePath%>') 與 SwfFile : escape('<%=swfFilePath%>') 區別

原创 Failed to load JavaHL Library. These are the errors that were encountered:

創建maven項目報錯:Failed to load JavaHL Library. These are the errors that were encountered: no libapr-1 in