起因:今天使用maven创建web项目的时候发现项目上老是有个红X,错误如下图所示,虽然项目能正常运行起来,但是LZ的强迫症发作,不弄掉就觉得心里不舒服,于是上网查了攻略,几经周折最终大功告成,现在就把我的解决方法记录下来,防止以后再次发生. 解决步骤: 1.打开web.xml文件 把头部中2.3 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w…
http://www.apache.org/dist/tomcat/tomcat-connectors/native/ 到该地址下下载一个tomcat-native-1.2.2-win32-bin压缩包,选择里边的一个64位tcnative-1.dll覆盖tomcat中bin目录下的tcnative-1.dll文件即可 再次运行即不会报错了. 删除了或者是覆盖了tcnative-1.dll还是不行 安装32bit的myeclipse2015看看吧…
场景1: 在后台数据对前台页面进行数据实时推送下,后台采取定时查询数据后,推送给前台页面.在这个过程中,前台页面不停的刷新页面,session在不停的关闭和开启,推送数据时,会出现session连接已经被关闭了,但是定时代码仍然在进行轮询推送,就会爆出以上错误. 解决1: 在发送数据前进行session.isOpen()方法判断session是否是已打开状态.在发送.…
(1)问题:intervention/image 2.4.x-dev requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. (2)原因: php.ini中的fileinfo扩展没有开启 开启 extension=php_fileinfo.dll 再重新安装就可以了’ (3)解决方法:…
如图所示: 但是 Eclipse 明明已经将编译级别设置为 1.7: 这是由于你的 Maven 编译级别是 jdk1.5 或以下,而你导入了 jdk1.6 以上的依赖包:查看 Eclipse 的 Navigator 视图下该项目的 .classpath 文件: <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui…
Xcode8 pod install 报错 "Generating Pods project Abort trap 今天在写一个新项目的时候,使用cocoapods在执行 $ pod install 的时候,终端提示 Generating Pods project Abort trap: 6 解决办法: 删除所有cocoapods gems, 依次执行以下命令: sudo gem uninstall cocoapods sudo gem uninstall cocoapods-core sudo…
python setup.py install 报错信息 [root@VM_25_28_centos psutil-2.0.0]# python setup.py install running install running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/psutil copying psutil/_pso…
Mac 下使用brew install 报错: localhost:infer-osx-v0.6.0 admin$ sudo brew install opam Error: Cowardly refusing to `sudo brew install' You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and c…
npm install 报错 : error Unexpected end of JSON input while parsing near '...sShrinkwrap":false,"d' 解决办法: 运行如下命令 npm cache clean --force…
npm install 报错解决办法 原因是因为node_modules可能有意外改动,导致依赖库不完整,删除项目下的node_modules,在你的项目目录下,重新执行npm install,这会重新生成node_modules,重新执行npm run dev即可 1.删除项目文件的node_modules 2.清理缓存: npm cache clean --force 3.重新安装: npm install 4.重新运行 npm run dev…