用maven创建web工程的时候会出现The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的错误信息解决方案:最后错误就消失了
分类:
编程语言 时间:
2015-07-31 20:19:47
阅读次数:
108
Maven 环境搭建
安装
下载Maven,直接解压D:\maven\apache-maven-3.2.3(可自定义文件解压位置),即可完成安装
配置环境变量
1.电脑->属性>高级系统设置>环境变量
2.添加MAVEN_HOME=D:\maven\apache-maven-3.2.3
3.修改PATH,在配置中添加%MAVEN_HOME%\bin;
4.cmd种输入:mvn –ve...
分类:
其他好文 时间:
2015-07-31 18:38:13
阅读次数:
113
fedora安装后,yum命令不能使用,Cannot retrieve metalink for repository: fedora. Please verify its path and try again 解决方法
分类:
Web程序 时间:
2015-07-31 18:17:27
阅读次数:
493
通过Emgu实现对图片上的数字进行识别。前期步骤:1.下载Emgu安装文件,我的版本是2.4.2.1777。3.0版本则实现对中文的支持。2.安装后需填写环境变量,环境变量Path值后加入Emgu安装路径到bin下。如C:\Emgu\emgucv-windows-x86-gpu 2.4.2.1777...
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2015-07-31 18:00:55
阅读次数:
82
bool GetAcadPath(CString &acadPath){DWORD dwRet=:GetModuleFileName(acedGetAcadWinApp()->m_hInstance,acadPath.GetBuffer(_MAX_PATH),_MAX_PATH);acadPath....
分类:
其他好文 时间:
2015-07-31 17:38:16
阅读次数:
154
1.需要后台提供.pem格式的Openssl公钥文件,也可以自己制作。具体请参考:http://www.qmailer.net/archives/216.html(OpenSSL密钥相关命令)
char *my_encrypt(const char *str,const char *path_key){
char *p_en;
RSA *p_rsa;
FI...
分类:
移动开发 时间:
2015-07-31 16:28:44
阅读次数:
243
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2015-07-31 16:08:47
阅读次数:
103
Apktool?反编译 1.下载apktools.tar.bz2,将其解压后的目录添加到系统path环境变量中 进入DOS,先输入apktool看反编译工具安装是否成功 2.进行反编译 进入DOS,进入到要反编译的apk文件目录输入命令 apktool??...
分类:
其他好文 时间:
2015-07-31 15:03:55
阅读次数:
169
1. 现象 在命令行里面能正常运行脚本,在crontab里面报错: lsof:?No?such?file?or?directory 看报错信息, 应该是找不到lsof这个命令 2. 排查 查看lsof命令的路径: $?type?-a?lsof
lsof?is?/usr/bin/...
分类:
其他好文 时间:
2015-07-31 13:15:20
阅读次数:
710