项目框架 SpringMVC+Hibernate 开发工具 Myeclipse10 报错代码(下图): 检查项目发现出现问题的原因:配置文件有问题,少配置了一个字段,下面红色注释部分。 <fields> a.id,a.title,a.author,a.content,a.source,...
分类:
编程语言 时间:
2014-07-22 08:28:36
阅读次数:
295
在pom.xml中? <project>
......
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
<configuration>
<attach>true</attach>
</configurati...
分类:
其他好文 时间:
2014-07-21 13:27:57
阅读次数:
264
首先到github网站下载jsoncpp库的最新版本:https://github.com/open-source-parsers/jsoncpp
点击右下角的Download ZIP进行下载
解压后如下所示:
用vs打开makefiles\vs71\jsoncpp.sln
首先将lib_json设为启动项目,编译连接可能会出现如下的错误:
不用管...
分类:
Web程序 时间:
2014-07-21 11:43:04
阅读次数:
501
最近在做Android Audio方面的工作,有需求是在调节Volume_Up_Key & Volume_Down_key时,Spearker or Headset每音阶的衰减变为3db左右。所以利用Source Insight分析Android源码中音量控制的流程,如有错误,欢迎指正,谢谢! .....
分类:
移动开发 时间:
2014-07-21 08:34:02
阅读次数:
388
监控 ehcache缓存:1,下载:http://terracotta.org/downloads/open-source/destination?name=ehcache-monitor-kit-1.0.3-distribution.tar.gz&bucket=tcdistributions&fi...
分类:
其他好文 时间:
2014-07-21 00:27:02
阅读次数:
378
nginx负载均衡tomcat并且实现反向代理依赖的软件包提前安装到/local驱动器里1.gzipmodulerequireszliblibrary2.rewritemodulerequirespcrelibrary3.sslsupportrequiresopenssllibrary4.nginx下载源码包1.wgethttp://www.openssl.org/source/openssl-1.0.0l.tar.gz2.wgetftp://f..
分类:
数据库 时间:
2014-07-20 15:33:31
阅读次数:
318
在Eclipse中开发android的应用程序时,有时想查看函数的内部实现,但是当在函数上点击ctrl和鼠标左键的时候,往往出现如下提示: Class File EditorSource not foundThe JAR of this class file belongs to container 'Android' which does not allow modifications to ...
分类:
移动开发 时间:
2014-07-20 11:42:00
阅读次数:
217
目的:利用shell脚本每小时检测数据库是否在运行,当检测到库宕掉时发邮件告警。
1.检查sendmail是否在运行
servicesendmailstatus
没有在运行则启动或安装。
如果是linux6,则检查postfix是否在运行servicepostfixstatus
2.pmon是oracle五大关键进程之一,如果pmon进..
分类:
其他好文 时间:
2014-07-20 10:36:28
阅读次数:
234
#!/bin/bash#初始化环境变量source.bash_profile#日志名中的固有日期格式f_name=`date+%Y%m%d`#日志的路径及名称log_file=/backup/db/rman/log/rman$f_name-0401.logecho$log_file#统计日志文件行数#line_num=`wc-l$log_file|awk‘{print$1}‘`#echo$line_num#如果日志文件不存在..
分类:
其他好文 时间:
2014-07-20 10:18:28
阅读次数:
304
一、什么是Grails?
Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a producti...
分类:
其他好文 时间:
2014-07-19 23:18:40
阅读次数:
240