- 浏览: 1205382 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (718)
- HTML (13)
- JS基础 (23)
- JS应用 (40)
- AJAX (6)
- JSP相关 (12)
- JAVA基础 (52)
- JAVA应用 (74)
- APPLET (11)
- SWING\RCP (2)
- JAVA反射 (6)
- 设计模式 (26)
- 数据库设计 (20)
- Struts (35)
- Struts2 (12)
- Spring (22)
- Hibernate (45)
- Ibatis (18)
- mybatis (3)
- SSH (8)
- UML (5)
- WebService (3)
- XML (16)
- Log4j (7)
- WEB容器 (26)
- 数据结构 (36)
- Linux (34)
- Ruby on Rails (1)
- 其它技术 (27)
- IDE配置 (15)
- 项目实战 (2)
- Oracle (69)
- JAVA报表 (7)
- Android学习 (2)
- 博客链接 (1)
- 网络基础 (1)
- WEB集群 (1)
- .Net开发 (11)
- PB (4)
- 系统构建 (15)
最新评论
-
jnjeC:
牛逼啊哥们,讲得太好了
Maven仓库理解、如何引入本地包、Maven多种方式打可执行jar包 -
九尾狐的yi巴:
很好 感谢!
Itext中文处理(更新版) -
luweifeng1983:
有用的,重启一下嘛。
设置eclipse外部修改文件后自动刷新 -
Master-Gao:
设置了也不管用,怎么破呢?
设置eclipse外部修改文件后自动刷新 -
aigo_h:
锋子还有时间写博客,还是很闲哈!
Add directory entries问题
解决方法:http://ww2.sjc.edu/faculty_pages/hzhou/javaBugSolutions.html
Solutions to Encountered Bugs
I have been fixing some bugs in Java but never wrote down how. Since now I am teaching Java programming language, so I would like to record how bugs encountered are fixed.
1. When you are running JDK5.0, you may see warning message when using javac:
java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Depends-On
This problem may be caused by different reasons. Some people claimed that it was caused some jar files which contain 'bad' manifest file(s) in the jar package and the manifest file(s) may contain duplicate classpath specification. When I met this problem and after reading the explanation of other java professionals, I did a little bit different.
First, I checked the system classpath. Under Windows, 'echo %CLASSPATH%'; under Linux/Unix, 'echo $CLASSPATH'. I found that I have some old version of java that is in the classpath, such as VisualCafe. I suspect that this is the problem. Then I cleaned the classpath, and then everything works fine. (On our lab computers, I asked students to set the classpath to be ".\" to clear out any existing content since we do not have other libraries to refer to).
How to modify the CLASSPATH?
- Under window, go to Control Panel --> System --> Advanced --> Environment Variables --> Edit the Classpath.
- Under Linux, modify your .bashrc or .zshrc or related profile.
发表评论
-
JAVA短信发送及JAVA发送http请求与处理
2016-06-22 14:34 516JAVA发送HTTP请求与处理参考: http://ww ... -
Java Zip应用
2016-06-22 14:30 541应用系统中使用jdk原生 ... -
模拟tomcat进行http请求及响应处理:BufferedReader类的readLine在socket网络编程应用时发生阻塞
2016-05-11 15:04 1656最近写一个简单的程序模拟tomcat进行http请求及响应 ... -
Castor-xml映射出现节点重复问题解决
2015-08-13 16:24 1179最近在使用Castor-xml生成XML时发现生成的格式不 ... -
Add directory entries问题
2014-08-05 10:24 1835用spring注解的项目,eclipse可以运行,打成jar ... -
BeanUtils.copyProperties与PropertyUtils.copyProperties用法及区别
2013-01-25 16:21 855http://www.cnblogs.com/fayf/ar ... -
java.net.BindException: Cannot assign requested address
2012-06-13 14:10 864转:http://wgkgood.blog.51cto ... -
java tree
2011-11-16 02:01 1264import java.util.ArrayList; im ... -
jacob操作word和excel
2011-07-28 17:00 867http://danadler.com/jacob/ -
获得PrepareStatement 的最终执行语句
2011-07-04 10:07 977方法一:http://www.blogjava.net/ ... -
Non-terminating decimal expansion; no exact representable decimal result
2011-06-24 16:03 2576由于需要处理精度比较高的浮点数,所以弃用double类型,改用 ... -
JXLS应用示例
2011-06-03 01:41 3412JXLS在循环的记录前加序号: <jx:f ... -
月份加减方法处理
2011-06-03 00:52 891private static String monthAdd ... -
JAVA 5.0 后 自带监控工具 jps、jinfo、jstat、jma
2011-05-12 16:25 1216最近有个客户要进行WebLogic性能调优,但因为他们没有性能 ... -
定时器的实现、java定时器介绍与Spring中定时器的配置
2011-04-28 15:05 25051定时器的作用 在实际的开发中,如果项目中需要定时执行或者需 ... -
ClientAbortException,Connection reset by peer: socket write error
2011-03-07 11:24 6030extremetable导出excel,弹出一个下载窗口,这 ... -
java 调ireport (javaBean数据源)保存服务器 生成word
2011-02-24 14:40 1516package com.ztesoft.bidding.con ... -
JAVA包生成EXE应用实例
2011-01-06 15:35 1002相关文章:http://blog.csdn.net/fresh ... -
RMI客户端调用远程服务器方法-远程方法调用
2010-12-27 16:45 2714RMI软件下载:http://www.genady.net/r ... -
JAVA jar打包时MANIFEST.MF格式约定
2010-12-10 11:12 2196Manifest-Version: 1.0 Created-B ...
相关推荐
Minting based on Proof-of-Stake Main Chain Protocol Checkpoint: Protection of History Block Signatures and Duplicate Stake Protocol Energy Efficiency Other Considerations Conclusion
赠送jar包:flink-connector-base-1.13.2.jar; 赠送原API文档:flink-connector-base-1.13.2-javadoc.jar; 赠送源代码:flink-connector-base-1.13.2-sources.jar; 赠送Maven依赖信息文件:flink-connector-base-...
- Improvement: TLinkedComponent -> added ChangeProperties protected method to centralize in one place the changes of properties of the objects - Improvement: TGMMarker -> modified all Set and Show...
1)....Fixed: Added workaround for codegen bug in Delphi 7 (possibly - other), bug manifests itself as wrong date-time in reports or integer overflows 2)....Fixed: Some MAPI DLLs may not be loaded ...
Duplicate Bug Report Detection Using Dual-Channel Convolution Neural NetworksPPT演示
resell or redistribute in any way this source code as it is or modified. See the License.txt document for complete licensing and disclaimer issues. Recompiling Packages: ---------------------- ...
RNPlayer基于react-native的音乐播放器音乐来源:网易云音乐Start git clone https://github.com/landandan/RNPlayer.git npm i效果展示引用库UI第一次使用,感觉不是那么好用遇到的问题Duplicate module name: ---...
openssl-1.1.1k-1.el7.x86_64
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
contains-duplicate-0217 find-minimum-in-rotated-sorted-array-0153 数组的乘积-除了-self-0238 从排序数组中删除重复项-0026 搜索旋转排序数组-0033 两个整数之和-0371 二和-0001 回溯 组合-和-0039 组合总和-ii-...
叉子deze leertaak en ga aan渣。 jouw eigen GitHub omgeving uitwerken中的Onderstaande大纲和je geedurende deze taak。 德·斯蒂文·温德·杰(Zoals altijd),在: 标题描述 :nerd_face:目录产品特点安装...
maven-duplicate-finder-plugin-1.0.0.jar
BETA-家庭助理社区附加组件 警告! 这是一个测试版存储库 此Home Assistant加载项存储库包含加载项的beta版本。 他们可能会随时停止工作。 它们可能会对您的系统产生负面影响。 该存储库是为以下目的创建的: ...
企业版无限授权注册码:TDFP-DCWM-TMDZ-CZDY 这个就是随便用了
这是一个很有用的重复图片查找软件。查找相同文件名、分辨率、对比度等。
官方离线安装包,测试可用。请使用rpm -ivh [rpm完整包名] 进行安装
eslint-plugin-require-duplicate ESLint插件使用require(“ ...”)语法发现重复的导入。 安装 您首先需要安装 : $ npm i eslint --save-dev 接下来,安装eslint-plugin-require-duplicate : $ npm install ...
- Discover the debugging enhancements in Visual Studio 2012 like debugging on remote machines and tablets and the Concurrency Visualizer - Dive into Windows 8 Store Apps with application ...
npm install --save mongoose-extract-duplicate-field 模块输出功能。 安装后,您可以导入以下功能: var extractDuplicateField = require ( 'mongoose-extract-duplicate-field' ) ; 像这样调用它: foo . ...