今天晚上挺悲催的,遇到了这个问题花费我很长时间,现在总结如下:到这这种情况的发生有两种情况:1,没有配置事物只要在Spring配置文件中添加如下代码: 然后在DAO程序前面加上@Transactional即可。2,连接数据的配置是否正确,如果连接字符串不正确的话,就不能够创建SessionFa...
分类:
Web程序 时间:
2014-11-25 00:07:28
阅读次数:
188
Open the Command Prompt (not as administrator)Navigate to the folder where IIS Express is installed on your machine.In the command line spin up a IISE...
分类:
数据库 时间:
2014-11-24 13:18:30
阅读次数:
202
Master节点Log篇 1.?? WARN org.apache.hadoop.hdfs.server.common.Util: Path /usr/mywind/name should be specified as a URI in configuration files. Please update hdfs configuration. 问题定位:hdfs-si...
分类:
其他好文 时间:
2014-11-24 12:07:12
阅读次数:
230
这篇文章解决了在StackOverflow上一个经常被提到的问题。在配置发生变化(Configuration changs)时,什么是最好的保存活动对象方法,比如运行中的线程,Sockets,AsyncTask。要回答这个问题,我们要先讨论一些开发者在Activity生命周期中使用长时间后台任务时遇...
分类:
其他好文 时间:
2014-11-24 08:37:00
阅读次数:
143
1. 安装配置Apache2. 安装wsgi_mod模块3. 开放相应端口vim /etc/sysconfig/iptables# Firewall configuration written by system-config-firewall# Manual customization of th...
分类:
Web程序 时间:
2014-11-23 18:56:24
阅读次数:
168
ZooKeeper 秘诀 与解决方案A Guide to Creating Higher-level Constructs with ZooKeeperOut of the Box Applications: Name Service, Configuration, Group Membership...
分类:
其他好文 时间:
2014-11-23 18:52:51
阅读次数:
339
/** A new configuration where the behavior of reading from the default
* resources can be turned off.
*
* If the parameter {@code loadDefaults} is false, the new instance
* will no...
分类:
其他好文 时间:
2014-11-23 16:10:02
阅读次数:
186
Hbase支持的Hadoop版本http://hbase.apache.org/book/configuration.html#hadoop解压文件后,配置conf目录下的3个文件:hbase-env.sh(设定JAVA_HOME)regionserver(将slaves相应的IP加入)hbase-...
分类:
其他好文 时间:
2014-11-22 20:12:55
阅读次数:
264
=================================================================客户端检查站点的时候报错,如图。原因是SCCM没有对配置好的站点边界做如下的勾选,如图。总结:在没有勾寻将此边界组用于站点分配”之前,使用SCCM依然是可以成功推送安装客户端代理的,但是客户端代理会报..
分类:
其他好文 时间:
2014-11-22 19:01:27
阅读次数:
429
PL/SQL配置大小写转换等快捷键
Tools(工具) --> Preferences(首选项) --> Key Configuration(键配置)
然后修改自己需要的快捷键方式...
分类:
数据库 时间:
2014-11-21 23:17:46
阅读次数:
24393