You might need to append LC_ALL="en_US.UTF-8" to file: /etc/default/locale and reboot your machine if there are runtime errors related to locale::facet::_S_create_c_locale name not valid.…
错误: exception in initAndListen: 14043 clear tmp files caught exception exception: locale::facet::_S_create_c_locale name not valid, terminating   发生场景: mongodb   解决方案: 在命令行输入 > export LC_ALL="C" 以便去除本地设置…
qt项目 qt creator项目由插件自动转换成的vs2015项目,为了发布少带些dll ,切换成vs2013项目,在更改了一些vs2013不支持的c++新标准写法之后,release可正常编过,但是debug报错,具体如下 vs 报错: DataManager.cpp1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(122): error C2665: “std::locale::facet::o…
在Ubuntu上编译安装caffe还是个比较蛋疼的事,有时候会莫名其妙的碰到很多库的问题,这篇文章就把我在Ubuntu上编译安装caffe的过程和遇到的问题大致记录一下. 1.安装opencv http://machinelearninguru.com/computer_vision/installation/opencv/opencv.html 建议参考这篇文章,过程写得比较清晰 2.安装Matlab 因为我要用到matcaffe所以需要装matlab,这个过程可以参考: http://blo…
1.问题引入: 运行一个maven+springmvc+hibernate的项目的时候出现了下边的错误: Caused by: java.io.FileNotFoundException: class path resource [com/zju/iot/config/User.hbm.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputS…
eclipse中,jsp编译后 servlet源文件的位置为: F:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\demo\org\apache\jsp 注:我的workspace位于F盘,地址中显示的是项目demo下的jsp编译路径.读者根据实际情况自己查找.…
前段时间突然发现Intellij不能自动重新加载类了,每次编译后都要重新启动项目,才能显示更新效果,后来网上查询Intellij下如何配置热部署,都说是要配置构件,然后在web容器的编辑页面选择update resources and classes什么的,尝试后发现每次类是重新加载了,但是项目会自动重启一下,没解决我的问题. 后来自己在Intellij的项目配置界面捣鼓,终于找到了方法,就是在Debugger配置节点下的HotSwap节点中找到 Reload classes after com…
在android程序中使用NDK编译后的ffmpeg库的时候出现了如下错误: jni/libs/libavutil.a(mem.o): in function av_malloc:libavutil/mem.c:95: error: undefined reference to 'posix_memalign' 上网查阅,发现是由于android系统一开始并不支持posix,后来增加了对posix的支持. 这个问题出现的主要原因有两个: 1.编译APP的时候指定的APP_PLATFORM 过低…
java编译后字节码解析 参考网摘: https://my.oschina.net/indestiny/blog/194260…
1.首先,创建一个文件命名为 XXX.exe.manifest, 并将以下内容复制到文件 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdenti…