配置Spring4 + Hibernate4遇到的问题: Messages:No Session found for current threadFile:org/springframework/orm/hibernate4/SpringSessionContext.javaLine number....
分类:
其他好文 时间:
2014-08-29 18:10:58
阅读次数:
342
同时还提示: bz2 module is not found(貌似)解决方法:1。重新安装pythonwget http://bzip.org/1.0.6/bzip2-1.0.6.tar.gztar xpzf bzip2-1.0.6.tar.gzcd bzip2-1.0.6makemake -f M...
分类:
其他好文 时间:
2014-08-29 17:48:38
阅读次数:
1090
1、新版本2.4.1中,profile/hadoop-env.sh中均己设置JAVA_HOME,java-version也正常。启动时报错:[root@nn~]#start-all.shStartingnamenodeson[]localhost:Error:JAVA_HOMEisnotsetandcouldnotbefound.localhost:Error:JAVA_HOMEisnotsetandcouldnotbefound....startingyarnda..
分类:
其他好文 时间:
2014-08-29 16:17:28
阅读次数:
155
现象: shell脚本中source aaa.sh时提示 source: not found原因: ls -l `which sh` 提示/bin/sh -> dash这说明是用dash来进行解析的。改回方法: 命令行执行:sudo dpkg-reconfigure dash在界面中选择no再ls ...
分类:
其他好文 时间:
2014-08-29 14:32:37
阅读次数:
239
一:问题描述我用指定备份集恢复时,报错:RMAN>run{2>shutdownimmediate;3>startupmount;4>allocatechannelc1typedisk;5>allocatechannelc2typedisk;6>restoredatabasefromtag='TAG2...
分类:
其他好文 时间:
2014-08-29 12:56:27
阅读次数:
195
hibernate出现 org.hibernate.PropertyNotFoundException: field [departmen] not found on cn.itcast.hibernate.domain.Employee1错误出现这种错误是因为,实体类的配置文件(ClassName...
分类:
系统相关 时间:
2014-08-28 21:11:46
阅读次数:
401
Where is the canteen
Problem Description
After a long drastic struggle with himself, LL decide to go for some snack at last. But when steping out of the dormitory, he found a serious problem...
分类:
其他好文 时间:
2014-08-28 13:23:19
阅读次数:
431
1.修改项目名称方法:首先修改项目中.project文件的name属性echo1.....................然后在项目部署到tomcat中的时候出现以下错误:An existing resource has been found at location....2.修改.mymetdat...
分类:
其他好文 时间:
2014-08-28 12:46:19
阅读次数:
186
背景介绍:同事的一台索尼的笔记本,安装XP。开机启动出现“Operating System Not Found”无法进系统诊断:初步判断硬盘故障。但听声音,没有异响。开机按F2进入BIOS设置。发现没有认到硬盘。于是判断硬盘没有接好。关机,取掉笔记本电池,拆开索尼笔记本后盖,拿掉硬盘接线。更换一块硬...
分类:
其他好文 时间:
2014-08-27 18:39:48
阅读次数:
278
[root@test ~]# tail -f /tmp/zabbix_agentd.log/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh: line 19: mysql: command not foundvi/var/lib/z...
分类:
移动开发 时间:
2014-08-27 18:32:38
阅读次数:
439