org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): ID主键生成策略为assigned 由应用程序负责生成主键标识符 <id name="id" type="java.lang.String"> <column name="ID" length=&qu…
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的时候,添加安装路径有时会发…
[转]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…
Lost connection to MySQL server at 'reading initial communication packet' 错误解决 上次解决了这个问题,今天又碰到,突然失忆,又做了一番无用功后终于搞定,这次一定要记录下来,免得下次又浪费时间 1.修改mysql配置文件 vi /etc/my.cnf [mysqld]段加skip-name-resolve 在这个之前要把mysql的远程访问权限打开,或者再加skip-grant-table(不推荐) 2.修改hosts.a…
sass文件编译时候使用ruby环境,无论是界面化的koala工具还是命令行模式的都无法通过,真是令人烦恼. 容易出现中文注释时候无法编译通过,或者出现乱码,找了几天的解决方法终于解决了. 这个问题的奇葩之处在于在xp环境中没有任何问题,只是在windows7环境中才出现的这个. sass编译时候出现如下错误的解决方法: Syntax error: Invalid GBK character "\xE5" on line 8 of E:\work\sass\sass\_big_box.…
在SSH Secure Shell 连接Linux centos的时候,遇到F-Secure SSH File Transfer错误"too many authentication failures for root".A protocol error was detected.This usually indicates a bug in the SSH application(either client or server). 网上有种方法是这样的:修改了客户端的设置Edit-&…
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…