一般我们给项目添加jar包的时候是这样的:Build path->Add libraries (之后可以选择多种添加方法),但是添加完成后,发现还是找不到类.
解决方法(环境:MyEclipse):
右键项目->properties->搜deploy,出现deployment assembly->Add->Java Build path entries->选择你要添加的库即可....
分类:
系统相关 时间:
2015-07-29 00:59:25
阅读次数:
160
nginx -s reload :修改配置后重新加载生效nginx -s reopen :重新打开日志文件nginx -t -c /path/to/nginx.conf 测试nginx配置文件是否正确关闭nginx:nginx -s stop :快速停止nginx quit ...
分类:
其他好文 时间:
2015-07-29 00:30:29
阅读次数:
184
var obj = document.getElementById(obj_Id);obj.select();
window.parent.document.body.focus(); // <——–添加该行后,真的成功了
path = document.selection.createRange().text;
直接上代码,如果不增加第3行代码,浏览器会报拒绝访问;如果设置了Inter...
分类:
Web程序 时间:
2015-07-28 21:13:34
阅读次数:
257
安装python文件准备: A. python安装文件:我用的是python-3.4.3.amd64.msi;安装很简单,直接双击点下一步即可;配置环境变量,在windows系统变量中找到path,添加python的安装路径;在桌面使用ctrl+shift+右键 组合打开命令窗口,输入python,...
分类:
编程语言 时间:
2015-07-28 20:49:43
阅读次数:
259
1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192.168.1.1/pro/domain简写:svn co2、往版本库中添加新的文件svn add file例如:svn add test.php(添加t...
分类:
系统相关 时间:
2015-07-28 20:31:18
阅读次数:
216
/opt/lampp/etc/extra/httpd-xampp.confAlias /phpmyadmin "/opt/xampp/phpMyAdmin/"改为Alias /your-path "/opt/xampp/phpMyAdmin/"
分类:
Web程序 时间:
2015-07-28 20:18:02
阅读次数:
101
利用http协议调用url,进行对页面数据的抓取(听起来好像就是传说中的爬虫,百度那样的),代码如下: public?static?String?Get(String?path,String?encoding)?throws?Exception{
//获取需要抓取页面的路径
U...
分类:
Web程序 时间:
2015-07-28 19:05:15
阅读次数:
149
Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move e...
分类:
其他好文 时间:
2015-07-28 18:36:31
阅读次数:
68
1> 编写eclipse android代码.2> 把unity下class.jar拷入eclipse libs目录下, 工程中右键build path, add to build path.3> 编译工程, 在工程目录下bin\classes\com\android\utility生成.class...
分类:
移动开发 时间:
2015-07-28 17:34:50
阅读次数:
130
严重:?StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException:?Error?creating?bean?with?name?‘webSocketHandlerMapping‘?defined?in?class?path?resource?[org/sp...
分类:
编程语言 时间:
2015-07-28 16:10:37
阅读次数:
1896