摘要: 最近一直在研究xml解析问题,总结了一点小知识,就写下来吧! dom解析时,会根据xml文件头的内容网上下载DTD文档,很烦人,速度慢不说,网络如果断了,程序也无法进行了。查了半天资料,终于知道如何解决了。以下为解决方案: 解决方案一: DocumentBuilderFactory builder = DocumentBuilderFactory.newInstance(); builder.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd",false);// 解决方案二: 阅读全文
posted @ 2011-08-10 16:56 规格严格-功夫到家 阅读(991) 评论(0) 推荐(0) 编辑
摘要: 最近分析源代码时,eclipse总是出错,显示org.eclipse.core.runtime.CoreException,解决方法:在 builderpath点击 add external jars,导入 org.eclipse.core.runtime_3.2.0.v20060603.jar,org.eclipse.equinox.common_3.2.0.v20060603.jar 两个jar包,这两个jar包都封装了org/eclipse/core/runtime包 阅读全文
posted @ 2011-08-10 16:55 规格严格-功夫到家 阅读(2696) 评论(0) 推荐(0) 编辑
摘要: Your First Plug-in Developing the Eclipse "Hello World" plug-in Summary The traditional Hello World program doesn't do that much, but it can be invaluable when exploring a new development environment. In this article we'll develop the Eclipse Hello World plug-in and show you how to 阅读全文
posted @ 2011-08-10 15:35 规格严格-功夫到家 阅读(351) 评论(0) 推荐(0) 编辑