此类错误的常见解决办法: 1、是因为.java文件不在项目的src路径内,也就是说源代码未被eclipse编译,字节码不存在无法运行了在项目名上右键 -> Builder Path -> Configure Build Path -> 选择Source面板 再点Add Folder, 把源代码...
分类:
编程语言 时间:
2015-08-05 12:23:32
阅读次数:
487
在安装了jdk以后,其中bin目录下的一些开发工具只能在该路径下执行,这样在编译和执行java程序的时
会很不方便,我们需要在系统中的任何位置都可以执行,可以通过设置环境变量达到目的
一、在path中设置
步骤:
在高级系统设置-环境变量-系统变量中找到path,把jdk的bin目录路径(包括bin)复制到path中并用分
号与其他系统变量分开,这样就可以达到jdk...
分类:
编程语言 时间:
2015-08-05 10:42:55
阅读次数:
116
题目: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...
分类:
其他好文 时间:
2015-08-05 07:44:48
阅读次数:
139
题目:Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree andsu...
分类:
其他好文 时间:
2015-08-05 06:38:24
阅读次数:
95
RFC3530 定义了NFS文件系统迁移和引用的管理机制。文件系统定位功能通过fs_location属性向客户端提供文件系统的位置信息。fs_location属 性是一个包含有位置信息的列表,位置信息由一个主机名(hostname)和一个路径名(path)组成,其中路径名表示服务器端的根(root)...
分类:
其他好文 时间:
2015-08-05 00:53:05
阅读次数:
167
excel单据提交后BILL_TEMPLATE_PATH为空,这时候允许个人在新建单据里直接修改,如果有一张excel单据引用到这张单据的数据,引用通过bill_id建立关联,那么原单据BILL_TEMPLATE_PATH或写入汇总单据的bill_id,汇总单据的BILL_TEMPLATE_PATH则会写入所有关的bill_id,id将引号和..
分类:
其他好文 时间:
2015-08-04 23:17:04
阅读次数:
197
在jsp(serlvet)中,页面的"变换"有两种方式,第一重定向,第二转发:
先说重定向,它的调用方式是这样的
response.sendredirect("uri");
特点就是 转换后的uri地址会在地址栏显示不过之前的request里的数据不能传送给新的页面#
重定向就是,让服务器再发一个请求#
如下图,浏览器看到response里面的sendredirect,就会重新发一个请求...
分类:
Web程序 时间:
2015-08-04 23:09:17
阅读次数:
196
function edit_xml_file($xml_file_path,$datas,$is_index = false,$is_compress = true){
$doc = new DomDocument('1.0', 'utf-8');
$doc->formatOutput = true;
$flag = false;
if( !@file_exi...
分类:
Web程序 时间:
2015-08-04 23:08:13
阅读次数:
192
在android studio中,做新浪,微信等需要签名才能正常使用三方的功能,测试分享内容也特别麻烦。于是在项目的跟目录,添加自己的keysotre文件。并在gradle进行签名配置。
android studio 有两种方法引入签名文件。
Build->Generate Signed Apk。接着一直Next,会遇到让你指定key store path(如图1)...
分类:
移动开发 时间:
2015-08-04 23:02:33
阅读次数:
182
A relatively difficult tree problem. Well, a recursive solution still gives clean codes. The tricky part of this problem is how to record the result. ...
分类:
其他好文 时间:
2015-08-04 22:41:28
阅读次数:
92