07-23 18:16:17.641: W/SQLiteConnectionPool(28390): A SQLiteConnection object for database '/storage/emulated/0/cnOA.db' was leaked! Pl...
分类:
移动开发 时间:
2014-07-23 20:36:55
阅读次数:
246
/* 网页爬虫*/import java.io.*;import java.net.*;import java.util.regex.*;class RegexTest2{ public static void main(String[] args) throws Exception { getMa...
分类:
Web程序 时间:
2014-07-23 20:34:25
阅读次数:
217
记录几个问题: *********************************** 1、 有关设备的启动模式选项:(有待完善): 非自动启动模式 HOLD_AUTO_START:HOLD_AUTO_START is a compile option that will surpress ZDApp from startin...
分类:
其他好文 时间:
2014-07-23 18:13:47
阅读次数:
336
package?com.sadhu;
import?java.util.*;
import?java.lang.reflect.*;
/**
*/
public?class?Sample
{
????public?static?void?main(String[]?args)throws?Exception
????{
????????C...
分类:
其他好文 时间:
2014-07-23 17:40:01
阅读次数:
170
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/clq/hadoop2/MapperReducer : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
...
分类:
其他好文 时间:
2014-07-23 17:09:51
阅读次数:
192
----------------------------------------------------------------------EExternal = class(Exception) EExternalException = class(EExternal) 无效的异常码 整数计算异常...
分类:
其他好文 时间:
2014-07-23 16:20:51
阅读次数:
212
public static void main(String[] args) throws Exception { long a = Long.MAX_VALUE; long b = Long.MAX_VALUE; BigDecimal ba = new B...
分类:
其他好文 时间:
2014-07-23 16:20:01
阅读次数:
164
if(conn != null) { try { conn.close(); } catch(Exception e) { e.printStackTrace(); } conn = null; }写个工具类来关也可以: public static void close...
分类:
数据库 时间:
2014-07-23 15:01:16
阅读次数:
329
参考下面代码,在Action中加一个方法: 1 // 导出excel 2 public String excel() throws Exception { 3 StringBuffer excelBuf = new StringBuffer(); 4 excelBuf...
分类:
其他好文 时间:
2014-07-23 12:51:16
阅读次数:
193
很多小猿遇到这个Exception 的时候,都会有点无厘头。这个时候最好try-- catch下,找到出错的地方。本人习惯在页面上加个lable标签,把exc msg(exception message)输出的到lable,这样可以省的再调试,直接可以看到错误信息。但有时还是需要去打断点调试,这样才...
分类:
其他好文 时间:
2014-07-23 12:46:56
阅读次数:
197