今天在做storm on maven的时候发现要依赖到storm-hdfs的jar。自己又非常不想把乱七八糟的东西丢上自己的集群lib。于是就想maven 打包的时候把插件一块打包进jar。maven默认自己不会打包进jar,我只要把自己需要的打包进去就好了。 走了不少弯路,现在记录一把,防止以后自 ...
分类:
编程语言 时间:
2017-07-29 12:48:00
阅读次数:
197
为了能够灵活定义切入点位置,Spring AOP提供了多种切入点指示符。 execution———用来匹配执行方法的连接点 语法结构: execution( 方法修饰符 方法返回值 方法所属类 匹配方法名 ( 方法中的形参表 ) 方法申明抛出的异常 ) 其中红色字体的部分时不能省略的,各部分都支持通 ...
分类:
编程语言 时间:
2017-07-28 19:19:19
阅读次数:
181
SQL> select count(*) from v$session #当前的连接数SQL> Select count(*) from v$session where status='ACTIVE' #并发连接数SQL> select value from v$parameter where na ...
分类:
数据库 时间:
2017-07-28 14:42:23
阅读次数:
192
https://en.wikipedia.org/wiki/Exception_handling In general, an exception breaks the normal flow of execution and executes a pre-registered exception ...
分类:
其他好文 时间:
2017-07-26 20:22:02
阅读次数:
198
解决方案: 方法一:修改php.ini文件 max_execution_time = 30; Maximum execution time of each script, in seconds 把它设置成需要的值就可以了。如果设置成0的话,就是永不过期。 方法二:修改php执行文件 加上 max_e ...
分类:
其他好文 时间:
2017-07-26 15:38:12
阅读次数:
138
先看本人AS报错异常 Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.build.api.transform.TransformException: co ...
分类:
编程语言 时间:
2017-07-25 18:08:27
阅读次数:
375
John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task isonly possible if other tasks have already been ex ...
分类:
编程语言 时间:
2017-07-24 22:32:27
阅读次数:
286
/* -- 0. 高速压缩tempdb为初始值 USE tempdb DBCC SHRINKFILE(2,TRUNCATEONLY); */ -- 1. tempdb以下未回收的暂时表 ,某些版本号可能查不到数据 use tempdb; select * from sys.objects o whe ...
分类:
数据库 时间:
2017-07-24 19:15:30
阅读次数:
198
错误描写叙述 今天在Android Studio项目中添加了jackson的开发包,编译执行时候。引发了例如以下的错误: Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com. ...
分类:
移动开发 时间:
2017-07-23 15:31:26
阅读次数:
178
http://blog.csdn.net/dd864140130/article/details/51560664 ...
分类:
移动开发 时间:
2017-07-22 22:42:04
阅读次数:
203