摘要:
yum命令用ctrl+z命令中断后,再运行yum时,出现:Existing lock /var/run/yum.pid: another copy is running as pid 3046.Another app is currently holding the yum lock; waitin... 阅读全文
摘要:
关于如何集成spring-data-mongodb到项目中,已经有很多人介绍了,这里只给出几个链接。GETTING STARTED Accessing Data with MongoDB:http://spring.io/guides/gs/accessing-data-mongodb/MongoD... 阅读全文
摘要:
最近遇到了一个bug,详细情况如下:用linq to xml写xml文件,在加载的时候代码为xDocument.Load(filePath),保存的时候为xDocument.Save(filePath)。出现的问题是在文件的最后可能会多出几个字符,可能是xml文件最后一个标签,可能会更多。遇到这个问... 阅读全文