关于spring出现
??
Exception in thread "main" java.lang.ExceptionInInitializerError,告错的问题:
在建立工程项目是,为了能够提供jar包支持,我创建了build path 添加了spring3.0 user library在这个名称下添加了所有spring的jar包支持。
为了能够发布项目我又在web的lib下添加了...
分类:
移动开发 时间:
2014-09-09 16:18:48
阅读次数:
154
SurfaceHolder.Callback
(2012-03-09 09:15:44)
转载▼
标签:
杂谈
分类: android
一 前文概要说明
首先得简单说明一下Surface与SurfaceHolder.Callback之间的联系。
Surface是android的一个重要元素,...
分类:
移动开发 时间:
2014-09-09 16:18:09
阅读次数:
345
一:异常结构图及基本概念Throwable类:所有异常与错误的超类。Error类:程序无法处理的错误,表示运行应用程序中较严重问题,不需要捕获Exception类:程序本身可以处理的异常,可以捕获RuntimeException及其子类:可以捕获此异常,也可以不捕获。建议不捕获。非运行时异常:必须捕...
分类:
编程语言 时间:
2014-09-09 10:28:28
阅读次数:
331
sqoop 导入 hive
hive.HiveImport: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.thrift.EncodingUtils.setBit(BIZ)B
ERROR tool.ImportTool: Encountered IOException running import ...
分类:
编程语言 时间:
2014-09-08 03:15:26
阅读次数:
432
上篇讲到启动Consumer,调用了DefaultCamelContext.startService(service)方法,下面是方法源码:
private void startService(Service service) throws Exception {
if (service instanceof StartupListener) {
StartupListener liste...
分类:
其他好文 时间:
2014-09-07 17:20:15
阅读次数:
209
private static void parseClassToLoad(XmlPullParser parser) throws Exception {
String className = parser.nextText();
// Attempt to load the class so that the class can get initialized...
分类:
其他好文 时间:
2014-09-07 13:33:15
阅读次数:
195
erminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant ...
分类:
其他好文 时间:
2014-09-07 03:17:24
阅读次数:
147
Camel添加路由一般情况下是调用CamelContext的addRoutes(RoutesBuilder builder)方法实现的,下面我们看看该方法是如何实现路由的添加的:
public void addRoutes(RoutesBuilder builder) throws Exception {
//调用RouteBuilder的addRoutesToCamelContext方法,并...
分类:
其他好文 时间:
2014-09-06 20:03:13
阅读次数:
1327
Java代码:
public static void main(String[] args) throws Exception {
String numStr = "1fda2321fdf,1231 214 \n 345n234 23423saf23";
List list = parseNum2List(numStr);
Sys...
分类:
编程语言 时间:
2014-09-06 07:33:23
阅读次数:
387