Time of Update: 2015-01-13
標籤:轉摘:http://stackoverflow.com/questions/11155340/java-lang-illegalaccesserror-class-ref-in-pre-verified-class-resolved-to-unexpeYou are getting this error because of third party library reference added two times. You have added the application path
Time of Update: 2015-01-06
標籤:1、純手動start/stop 1 package com.cnblogs.yjmyzz.h2; 2 3 import java.sql.Connection; 4 import java.sql.DriverManager; 5 import java.sql.ResultSet; 6 import java.sql.SQLException; 7 import java.sql.Statement; 8 9 import org.h2.tools.Server;10 import
Time of Update: 2014-12-26
標籤:jxl java excel sql 匯出 Java實現將查詢的sql結果集匯入excel,用到jxl.jar包可在http://download.csdn.net/detail/qq8618/8304057 下載public String queryResultToExcel(String sql,String
Time of Update: 2014-12-14
標籤:http io ar os sp for java on 資料 1. MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jar 
Time of Update: 2014-12-11
標籤:style blog http io ar os 使用 sp for Java串連SqlServer2008資料庫首先下載JDBC::http://www.microsoft.com/zh
Time of Update: 2014-12-10
標籤:style http io ar color os 使用 sp for 今天在使用jetty做容器運行一個java web app時卻給出了這樣的錯誤:
Time of Update: 2014-11-17
標籤:blog http io ar os sp java on art 最近獨自一個人寫項目,孤軍奮戰的程式猿可真傷不起!Java
Time of Update: 2014-11-10
標籤:style blog http io ar os 使用 java sp 卿篤軍原文地址:http://blog.csdn.net/qingdujun/article/details/409
Time of Update: 2014-10-29
標籤:style blog io color os ar 使用 java sp 操作對象ObjectInputStream、ObjectOutputStream被操作的對象需要實現Seriali
Time of Update: 2014-10-27
標籤:style io os ar 使用 java for sp 資料 使用hadoop工具將資料分析出來以後,需要做入庫處理或者存到緩衝中,不然就沒了意義一下是使用javaAPI操作hdfs存
Time of Update: 2014-10-22
標籤:http io java strong sp on ad bs sql Exception
Time of Update: 2015-01-04
標籤:訊息驅動bean的主要用於接受和處理非同步訊息,這些資訊可能來自一個外部的系統或者同一個應用中的其它組件,之所以稱它們為非同步,那時因為這些訊息可以在任何時候到達,而不同於一般的遠程方法調用的結果,是立馬直接得到的。同UI的事件處理工作方式類似,訊息驅動bean用於監聽發送給它的非同步訊息。值得注意的是,與遠程調用方法不同,非同步訊息的寄件者不會停下來去等待對方的響應。 訊息驅動bean是J2EE中的一個標準服務(工具),全稱是Java Message Service
Time of Update: 2014-12-31
標籤:1.判斷路徑是檔案還是目錄File subDir=new File("c:\\mp3");if(subDir.isDirectory()){ // 是目錄}File mp3=new File("c:\\mp3\\avemaria.mp3"); if(mp3.isFile()){ // 是檔案}2.列出目錄下的檔案和子目錄File dir = new File(fromDir);String[] children =
Time of Update: 2014-12-06
標籤:des style blog http ar os 使用 sp on 內容概要: 1.使用Myeclipse工具開發工程 A:為啥要用myeclipse
Time of Update: 2014-12-06
標籤:android style blog http io ar os 使用 sp 內容概要:1.由凱歌講解真人教學模式的好處2.學習哪些內容3.學習第一個知識點TomCat4.學習TomCat
Time of Update: 2015-01-22
JAVA垃圾收集器之ParallelScavenge收集器Parallel Scavenge收集器是JAVA虛擬機器中垃圾收集器的一種。和ParNew收集器類似,是一個新生代收集器。使用複製演算法的並行多線程收集器。1、特點Parallel Scavenge收集器的關注點與其他收集器不同, ParallelScavenge收集器的目標則是達到一個可控制的輸送量(Throughput)。所謂輸送量就是CPU用於運行使用者代碼的時間與CPU總消耗時間的比值,即輸送量 =
Time of Update: 2015-01-07
java.sql.SQLRecoverableException: IO 錯誤: Socket closed,socketclosed 今天weblogic的alllog日誌報了很多socket closed的錯誤。### Cause: org.hibernate.exception.JDBCConnectionException: IO 錯誤: Socket closedat
Time of Update: 2015-01-05
經常遇到的java.lang.OutOfMemoryError: unable to create new native thread解決方案,createthread簡單分享一下,類似問題的解決方案剛才在某機器上上xxx使用者下壓測時遇到這個問題,連xxx都進不去了說明xxx使用者下無法建立跟多的線程了(當然root使用者沒這個問題) 系統能夠建立的最大線程數:(MaxProcessMemory - JVMMemory – 系統記憶體) /
Time of Update: 2015-01-06
經常遇到的java.lang.OutOfMemoryError:unabletocreatenewnativethread解決方案簡單分享一下,類似問題的解決方案剛才在某機器上上xxx使用者下壓測時遇到這個問題,連xxx都進不去了說明xxx使用者下無法建立跟多的線程了(當然root使用者沒這個問題) 系統能夠建立的最大線程數:(MaxProcessMemory - JVMMemory – 系統記憶體) / (ThreadStackSize) = Number of
Time of Update: 2014-11-05
Java開發人員最常用19個Linux命令,java開發19linux1.尋找檔案find / -name filename.txt根據名稱尋找/目錄下的filename.txt檔案。2.查看一個程式是否運行ps –ef|grep tomcat查看所有有關tomcat的進程3.終止線程kill -9 19979終止線程號位19979的線程4.查看檔案,包含隱藏檔案ls -al5.當前工作目錄pwd6.複製檔案包括其子檔案到自定目錄cp -r sourceFolder targetFolder7.