方法一(最简单安装):
安装 Net-SNMP
CentOS及其它RedHat系列产品提供了net-snmp的二进制包。我们可以直接从源里安装。
shell> yum install net-snmp net-snmp-devel net-snmp-utils
说明:net-snmp-devel是为了使用net-snmp-config, net-snmp-utils是为了使...
分类:
其他好文 时间:
2014-05-07 02:48:36
阅读次数:
428
This is a summary of some of the most important
questions concerning the Spring Framework, that you may be asked to answer in an
interview or in an in...
分类:
编程语言 时间:
2014-05-07 01:48:25
阅读次数:
601
NOP的定时任务也是群里听群友听说,我很少在WEB端做定时任务,所以尝鲜下,看看效果怎么样.主要涉及到下面几个类和配置文件配置:web.config
...
分类:
其他好文 时间:
2014-05-07 01:30:18
阅读次数:
371
1、介绍 之前在很多地方一直见到这个Spring Data
神奇的东西,不知道是啥东东,终于,今天来简单的探个究竟,底下是我从网上整理来的……
首先,解释下为啥要使用Spring来集成MongoDB:因为mongoDB的java驱动程序使用起来较为繁琐,特别是处理关联关系多、层次深的情况时。需要.....
分类:
数据库 时间:
2014-05-07 00:56:44
阅读次数:
511
【关键的错误信息】: TransactionException: Transaction not successfully started 和一个
doCommit
从该关键字看,是使用Hibernate事务管理器(而不是Spring,下面详细log的绿色字体)处理事务的commit时抛出的,
【具体解决】:
//下面的代码段会报错
Session sessio...
分类:
系统相关 时间:
2014-05-06 22:44:10
阅读次数:
628
DataInputStream和DataOutputStream
往二进制文件中读和写入java基本数据类型
public class BinaryReadWrite {
private DataInputStream dis = null;
private DataOutputStream dos = null;
private String s_FilePath = "config\...
分类:
编程语言 时间:
2014-05-06 21:12:07
阅读次数:
567
SpringMVC遭遇checkbox的问题是:当checkbox全不选时候,则该checkbox域的变量为null,不能动态绑定到spring的controller方法的入参上,并抛出异常。解决方案:1、javascript方式提交,提交前拼提交参数串,拼完后通过ajax方式提交。可以使用controller请求参数绑定。缺点:逐..
分类:
编程语言 时间:
2014-05-06 20:18:00
阅读次数:
416
情况是这样的:web工程采用了ssh框架,dao和service都是通过annotation方式注入的,工程运行正常。后来把service和dao打成jar放在工程的lib目录下,问题来了,配置没改动,结果就是不能自动注入dao和service。但是如果把dao和service在spring配置文件中通过xml文件配置,这些component能找到。
搜索了一把,发现这个问题比较...
分类:
编程语言 时间:
2014-05-06 19:33:09
阅读次数:
437
此方法不必删除目录重新下载:针对于第一次成功checkout,一段时间后,update 报此
403错误,我找到了解决方法:即 使用switch 重新定位svn路径,解决这个问题。(附图)ps:能svn checkout
那么你的路径就是正确的,如果大小写错误,svn是不支持checkout。如果是...
分类:
其他好文 时间:
2014-05-06 18:19:39
阅读次数:
354
packagecom.lavasoft.ntv.web.common;
importcom.github.cage.Cage;
importcom.github.cage.IGenerator;
importorg.springframework.beans.factory.annotation.Autowired;
importorg.springframework.beans.factory.annotation.Qualifier;
importorg.springframework.stereotyp..
分类:
编程语言 时间:
2014-05-06 17:38:55
阅读次数:
753