原创 運行程序報錯Exception in thread "commons-pool-EvictionTimer" or java.lang.OutOfMemoryError:

在eclipse中Windows->Prefrence->Java->installed JREs->edit->default VM argumen

原创 前端標籤使用記錄

阻止a標籤的默認事件:<a href="javascript:void(0)"></a>, 達到效果原頁面不刷新。通過a標籤觸發事件跳轉:<a href="#" ng-click="show()" target="view_window"

原创 前端<a>標籤使用記錄

阻止a標籤的默認事件:<a href="javascript:void(0)"></a>, 達到效果原頁面不刷新。通過a標籤觸發事件跳轉:<a href="#" ng-click="show()" target="view_window"

原创 Java.eclipse啓動報錯java.lang.IllegalStateException: LifecycleProcessor

錯誤:java.lang.IllegalStateException:LifecycleProcessor not initialized - call 'refresh' before invokinglifecycle methods

原创 sql生成唯一32 id

用時間微秒加隨機數,可能存在重複的情況,這個是postgresql的寫法select trim(to_char(current_timestamp, 'yyyyMMDDHH24MISSUS')||trim(to_char(floor(RA

原创 關於eclipse插件git提交 新增的問題件提交不上去問題

原因:文件被git   ignore忽略了,解決辦法:    找到git項目檢出位置,找到.gitignore文件打開,刪除你找不到文件的那個模塊,比如我的是promote-model下面新建文件提交找不到,在.gitignore文件中刪

原创 運行程序報錯Exception in thread &quot;commons-pool-EvictionTimer&quot; or java.lang.OutOfMemoryError:

在eclipse中Windows->Prefrence->Java->installed JREs->edit->default VM arguments增加了-Xms512m -Xmx512m -XX:P

原创 出現js、css、png、gif等靜態資源無法加載解決

在web.xml中有配置靜態資源讀取的方式 詳細配置如下:         <servlet-mapping>           <servlet-name>SpringMVC</servlet-name>           <!-

原创 不同數據庫sql查詢表字段以及結構的語句

Mysql database:select COLUMN_NAME, DATA_TYPE from information_schema.COLUMNS where table_name ='mytable'Oracle database

原创 eclipse提交代碼到github其他分支

第一步:下載git插件 這裏輸入下載git插件的地址:http://download.eclipse.org/egit/updates 插件安裝完畢,點擊eclipse→window→Preferences 上圖輸入框部分輸入git

原创 eclipse git提交彈窗顯示,不在和console同齊的地方顯示

eclipse→Windows→Prefrences→Team→Git→Committing 取消Use Staging View to commit instead of Commit Dialog