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…
前段时间突然发现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 过低…
运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------…