来自http://blog.csdn.net/sivyer123/article/details/9185325 在hibernate.hbm.xml中加上 <property name="javax.persistence.validation.mode">none</property>…
spring3.1+hibernate4集成测试时遇到的问题: log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#…
Eclipse 出现Some sites could not be found.  See the error log for more detail.错误 解决方法 Some sites could not be found.  See the error log for more detail.这话的意思是在设置的update的sites有问题,问题是无法发现或找到该site.这是因为我们在使用eclipse的help-->install new software的时候,添加安装路径有时会发…
我在将以前在Eclipse中写的项目import到android studio中后,出现了 AAPT err(Facade for 157667509): libpng error: Not a PNG file 错误,提示信息显示图片非PNG格式. 解决方法: 在studio中依次点开每个后缀名为png的图片,(如图) 即使图片的后缀名是png,这里会显示真正的格式.找到不符合要求的图片,另存为png格式即可.…
在导入项目到Android studio后,若编译出现“AAPT err(Facade for): libpng error: Not a PNG file”错误. 该错误表示项目中的drawable下的图片文件有非png图片,命名为了png造成的. 解决方案: 方案一.在模块下的build.gradle中配置下面两个信息,再clear project. aaptOptions.cruncherEnabled = false      aaptOptions.useNewCruncher = f…
Syntax error, insert "}" to complete ClassBody 报该错误是因为我从网页上粘贴了别人的代码,并没有发现什么异常但还是编译器报红叉. 解决方法:把报错代码完整粘贴到新建项目中,或者手输源码,问题解决!…
默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件,通常通过源码包进行安装时,如果不指定--prefix,会将库安装在/usr/local/lib目录下:当运行程序需要链接动态库时,提示找不到相关的.so库,会报错.也就是说,/usr/local/lib目录不在系统默认的库搜索目录中,需要将目录加进去. 1.首先打开/etc/ld.so.conf文件 2.加入动态库文件所在的目录:执行vi /etc/ld.so.conf,在"include ld.so.conf.d/*.c…
在编译引用了第三方库的代码后,执行出现了以下错误 [work@xxx zktest]$ ./a.out ./a.out: error while loading shared libraries: libzookeeper_st.so.2: cannot open shared object file: No such file or directory 这就是依赖的动态库找不到路径导致的 可以用ldd命令来看一下依赖的库的路径 [work@xxx zktest]$ ldd a.out     …
Linux Mint中写了一个简单的shell脚本,利用for..do..done结构计算1+2+3......+100的值,结果执行"sh -n xxx.sh"检测语法时总是报错,但在PC机上可正常运行: 脚本: #!/bin/bash #information PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH read -p "Please input a…
http://blog.csdn.net/wallwind/article/details/7580659 错误信息: error while loading shared libraries: libXXX.so.11.1: cannot open shared object file: No such file or directory locate libXXX.so.1.2.3 (如果你的文件系统比以前有了变化,如安装了可能是需要的库的开发包,则需要 locate -u 一下) libX…
原文:https://my.oschina.net/waknow/blog/205654 摘要: 使用Go链接数据库时,由于连接释放不当会在一段时间以后产生too many connections的错误.因此需要适当的选择函数和及时的释放数据库连接. 这几天用Go写了个简陋的服务器,连接Mysql数据库,提供api给其他程序调用来实现增删改产等服务.Go的版本是1.2,使用的驱动是go-sql-driver/mysql.但是在有一定量的查询结果以后,会出先too many connection的…
这个错误是:表处于"装入暂挂"状态. 经多次尝试 总结方法: 1:reorg table <表>: 假如不好使 则下面方法 2,先前尝试装入(LOAD)此表失败.表的状态应该是load pending; 你可以执行一下db2 "load query table <tabname>"命令来查看你的表状态. 然后用db2 "load from /dev/null of del terminate into <tabname>…
$ npm install webpack -g $ npm install webpack-cli -g 全局安装webpack $ npm run dev Error: Cannot find module 'webpack' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:5…
检查你的my.cnf或my.ini,里面会有一个参数innodb_force_recovery,你看看他的值,默认是没有这个参数,没有的话,他的默认值是0,这个参数的值如果大于0,innodb会被禁止使用insert.update.delete命令,你可以尝试将他的值设置为0,看看你的mysql是否正常,如果正常就用就行了.…
Windows: 将opencv安装目录下的cv2.pyd拷贝到Python安装目录里Lib中site-packages Linux: (1)将opencv安装目录下的cv2.so拷贝到Python安装目录里Lib中site-packages (2) 尝试输入以下指令: sudo apt-get install python-opencv…
安装系统补丁: 2012 R2对应>Windows8.1-KB2999226-x64.msu 下载地址: https://www.microsoft.com/zh-CN/download/details.aspx?id=49063…
工具链接可能报错,使用黑窗口链接后: 1. SET PASSWORD = PASSWORD("xinmima"); 2. flush privileges; 使用新密码链接即可.…
centOs下: error: Failed dependencies: 检查依赖性错误 解决方法 刚才安装avast的linux版,结果出现了: [root@localhost /]# rpm -ivh avast4workstation-1.3.0-1.i586.rpmerror: Failed dependencies:libexpat.so.1 is needed by avast4workstation-1.3.0-1.i586 error: Failed dependencies: …
error: Zip file too big (greater than 4294959102 bytes)错误解决办法.zip文件夹大于4GB,在centos下无法正常unzip,需要使用第三方工具来解压,比如7zip在SHH或者终端下输入:yum –y install p7zip(如果提示找不到资源,则要自己下载编译安装,命令如:)wget http://nchc.dl.sourceforge.net/sourceforge/p7zip/p7zip_4.65_src_all.tar.bz2…
[转]ubuntu错误解决E: Sub-process /usr/bin/dpkg returned an error code (1) http://yanue.net/post-123.html 在用apt-get安装软件时出现了类似于install-info: No dir file specified; try –help for more information.dpkg:处理 gettext (–configure)时出错: 子进程 post-installation script…
版权所有,转载必须说明转自 http://my.csdn.net/weiqing1981127 原创作者:南京邮电大学  通信与信息系统专业 研二 魏清 问题描述:使用SAM9X25  内核版本是2.6.39 ,编译内核驱动时候会出现error: variable '__this_module' has initializer but incomplete type错误 解决办法:make menuconfig 选中enable loadable module suppot选项即可…
Linux 下一个 Mysql error 2002 错误解决     首先查看 /etc/rc.d/init.d/mysqld status 查看mysql它已开始.     假设启动的的话,先将数据库停止   kill mysql的进程id     [root@localhost beinan]#chown -R mysql:mysql /var/lib/mysql     [root@localhost beinan]# /etc/init.d/mysqld start     启动 My…
scripts/config/mconf: Syntax error: “(” unexpected错误解决 从其他地方复制而来的openwrt SDK,放在本地执行make menuconfig时出现下面的错误 jack@ubuntu:openwrtdl.com$ make menuconfigCollecting package info: doneCollecting target info: donescripts/config/mconf: 1: scripts/config/mcon…
mysql ERROR 1045 (28000): 错误解决办法 听语音 | 浏览:54286 | 更新:2018-02-23 14:34 | 标签:mysql 1 2 3 4 5 6 7 分步阅读 ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (usin…
Error, some other host already uses address 192.168.0.202错误解决方法 今天配置虚拟机网卡的时候遇到错误:Error, some other host already uses address 192.168.0.202 查了很多方法,比如:编辑 /etc/sysconfig/network-scripts/ifup-eth 后来发现局域网里面有其他机器使用了192.168.0.202 这个IP,最后把虚拟机IP改为一个局域网内没人使用的I…
      WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错   当我们在客户端添加WCF服务引用的时候出错,信息如下   下载“http://localhost:8001/WCFService”时出错.   无法连接到远程服务器   由于目标机器积极拒绝,无法连接. 127.0.0.1:8001   Metadata contains a reference that cann…
mac 上运行cassandra出现的java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: : : unknown error错误解决方法     运行: ./bin/cassandra 得到输出结果: objc[1881]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMach…
在安装控件过程中出现提示Error 1606 Could Not Access Network Location %SystemDrive%/inetpub/wwwroot/ 的错误解决方法 1. 点击开始菜单    –运行  –regedit   后按回车键 2,找到注册表   HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/InetStp/PathWWWRoot  (32位系统) 或者  HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Nod…
   一. Error -26601: Decompression function 错误解决 Action2.c(30): Error -26601: Decompression function (wgzMemDecompressBuffer) failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, outUse=0 这个错误为数据包较大,未下载完整或其他原因导致解压错误. 解决方法:增加network  buffer size,默认…
参考:https://blog.csdn.net/u012453843/article/details/69803244 解决执行脚本报syntax error: unexpected end of file或syntax error near unexpected token `fi'错误的问题…