2015年1月26日

用Eclipse进行远程Debug代码

摘要: 首先你本地Eclipse上要有和部署在远程服务器一至的项目,否则debug的时候会出现代码行错位,难以达到debug的效果。例如:如果你本地的代 码加了行,修改了,或减了一行。而远程服务器上的项目没有变化,则debug的时候会发现行号不对,或debug出来的值有偏差等。1.打开Eclipse,点击左... 阅读全文

posted @ 2015-01-26 17:46 mt86 阅读(467) 评论(0) 推荐(0)

2015年1月5日

Eclipse中Java文件引入包找不到

摘要: import com.sun.org.apache.xml.internal.serialize.OutputFormat;import com.sun.org.apache.xml.internal.serialize.XMLSerializer;在工程上右击,>properties> 阅读全文

posted @ 2015-01-05 13:09 mt86 阅读(383) 评论(0) 推荐(0)

2014年12月31日

Java循环map集合

摘要: 1 Map map = new LinkedHashMap(); 2 map.put(1, "星期一"); 3 map.put(2, "星期二"); 4 map.put(3, "星期三"); 5 map.put(4, "星期四"); 6 map.put(5, "星期五"); 7 map.put(6... 阅读全文

posted @ 2014-12-31 13:00 mt86 阅读(357) 评论(0) 推荐(0)

导航