原创 Tomcat啓動報錯 Message file oracle.net.mesg.Message is missing

寧波銀行 水星平臺框架,啓動的時候報錯 【Message file ‘oracle.net.mesg.Message’ is missing問題處理】 水星平臺有一個 YTStudio 插件,點開以.prj 爲結尾的文件之後

原创 Java遞歸讀取多層目錄下的文件

目錄結構是根目錄下有多個目錄,包含了根目錄,以及目錄和二級目錄。使用遞歸可打破目錄限制。 public List<String> returnPathUrl (File dir,List<String> fileList){ F

原创 Invalid bound statement (not found): com.zhiyou100.video.mapper.SpeakerMapper.speakerTotalCount

Invalid bound statement (not found): com.zhiyou100.video.mapper.SpeakerMapper.speakerTotalCount 根據提示可以看出,以上問題的出現表明

原创 SpringBoot 從非父子項目 到父子項目

SpringBoot 從非父子項目 到父子項目 SpringBoot 從非父子項目 到父子項目 問題1.項目啓動之後提示,Consider defining a bean of type 'com.pz.intelligentwo

原创 SpringMVC 參數校驗

參數校驗雖說大多在前臺通過js完成,但是也應該懂得如何在後端實現參數的簡單校驗。由於本人目前處於初級階段,所以文章的深度有限。隨着時間推移我會逐漸更新。 參數校驗的步驟我就不在贅述,推薦: 參數校驗的步驟 我感覺這篇文章,博

原创 Bean property 'xxx' is not writable or has an invalid setter method

出現此問題的原因是在ApplicationContext.xml中配置有問題,裏面的bean的屬性名稱用 與 注入的類名稱不一致 applicationContext.xml <bean id="testdao" class="c

原创 Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined

Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name ‘dataSource’ defined 題所示的問題,作爲初學者。這些

原创 Description Resource Path Location Type An error occurred while filtering resources TESTVIDEO line

在maven中構建項目的時候發現瞭如下錯誤: Description Resource Path Location Type An error occurred while filtering resourc

原创 Caused by: org.apache.catalina.LifecycleException: A child container failed

Caused by: org.apache.catalina.LifecycleException: A child container failed 日常報備一個bug。 昨日這個問題困擾了我一整天,搜索按照網絡上的各種解決

原创 Cannot change version of project facet Dynamic web module to 2.5

這篇博客可以解決這個問題。 http://blog.csdn.net/sunqing0316/article/details/43675837

原创 Mybatis 批量插入數據庫 informix數據

整合Spring 與 Mybatis 的批量插入數據,需要使用到SQLSessionFactory 使用原生sql語句進行批量寫入,速度會快上很多。 需要在Spring的配置文件中配置好mybatis相關的配置,包括了各種各樣的

原创 Cap4J 平臺 Informix 查詢報錯 string to date conversion error

Informix 數據庫查詢數據庫的時候報錯,報錯的情形如下所示: string to date conversion error 我是在informix的數據中的sql語句中使用的 DATE(“2018-07-07”) 這樣

原创 Cap4J 平臺 Informix 遠程鏈接問題:使用DbVisualizer Pro 9.1.1 遠程連接數據庫中文亂碼

問題描述:使用DbVisualizer該連接工具遠程連接informix數據庫之後,打開數據的表格頁面總是顯示中文亂碼。 使用DbVisualizer遠程連接informix數據庫有兩種方式: 1.使用頁面的ServerInfo

原创 Cap4J 平臺 啓動報錯 Failed startup of context org.mortbay.jetty.webapp.WebAppContext@126f304

問題描述:Failed startup of context org.mortbay.jetty.webapp.WebAppContext@126f304 Cap4J 平臺二次開發報錯。 :Failed startup of

原创 Tomcat-8.3.57 啓動不成功 報錯:Failed to initialize component [Connector[HTTP/1.1-443]]

今早發現服務器的Tomcat突然掛了,其實按照現代要求標準都是要docker 容器話這些tomcat的啓動,但是emmm 不太懂怕出問題就沒有,還是比較老的方式。 出問題首先tomcat logs文件夾,查看當天的catalina.l