??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-Sky's blog http://www.dentisthealthcenter.com/aoxj/我和我追逐的?/description>zh-cn Thu, 07 Dec 2023 15:54:06 GMT Thu, 07 Dec 2023 15:54:06 GMT 60 使用javap命o查看~译版本信息 http://www.dentisthealthcenter.com/aoxj/archive/2013/02/17/395349.htmlsky ao sky ao Sun, 17 Feb 2013 07:50:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2013/02/17/395349.html http://www.dentisthealthcenter.com/aoxj/comments/395349.html http://www.dentisthealthcenter.com/aoxj/archive/2013/02/17/395349.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/395349.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/395349.html 阅读全文 ]]> ~码最佛_?6)--那些q_我们一起徏的烦?/title> http://www.dentisthealthcenter.com/aoxj/archive/2013/01/04/393738.htmlsky ao sky ao Fri, 04 Jan 2013 04:08:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2013/01/04/393738.html http://www.dentisthealthcenter.com/aoxj/comments/393738.html http://www.dentisthealthcenter.com/aoxj/archive/2013/01/04/393738.html#Feedback 1 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/393738.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/393738.html 阅读全文 ]]> ~码最佛_?5)--心Q这只是冰山一?/title> http://www.dentisthealthcenter.com/aoxj/archive/2012/09/06/387170.htmlsky ao sky ao Thu, 06 Sep 2012 07:09:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/09/06/387170.html http://www.dentisthealthcenter.com/aoxj/comments/387170.html http://www.dentisthealthcenter.com/aoxj/archive/2012/09/06/387170.html#Feedback 1 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/387170.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/387170.html 阅读全文 ]]> 解决drupal的globalrediect模块的重定向循环问题 http://www.dentisthealthcenter.com/aoxj/archive/2012/07/11/382755.htmlsky ao sky ao Tue, 10 Jul 2012 23:28:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/07/11/382755.html http://www.dentisthealthcenter.com/aoxj/comments/382755.html http://www.dentisthealthcenter.com/aoxj/archive/2012/07/11/382755.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/382755.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/382755.html
l果安装完成之后陷入重定向循环了,每个面都被重定向到新地址Q然后新地址再次被重定向。chrome览器会E后报错说太多重定向Q而ie则傻ȝ一直在d@环? 阅读全文 ]]> Java University |站开通过E吐p?/title> http://www.dentisthealthcenter.com/aoxj/archive/2012/06/24/381366.htmlsky ao sky ao Sun, 24 Jun 2012 02:34:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/06/24/381366.html http://www.dentisthealthcenter.com/aoxj/comments/381366.html http://www.dentisthealthcenter.com/aoxj/archive/2012/06/24/381366.html#Feedback 3 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/381366.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/381366.html 阅读全文 ]]> ~码最佛_?4)--心LinkedHashMap的get()Ҏ http://www.dentisthealthcenter.com/aoxj/archive/2012/06/18/381001.htmlsky ao sky ao Mon, 18 Jun 2012 04:31:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/06/18/381001.html http://www.dentisthealthcenter.com/aoxj/comments/381001.html http://www.dentisthealthcenter.com/aoxj/archive/2012/06/18/381001.html#Feedback 1 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/381001.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/381001.html 阅读全文 ]]> ~码最佛_?3)--量重用昂贵的初始化对象 http://www.dentisthealthcenter.com/aoxj/archive/2012/06/17/380974.htmlsky ao sky ao Sun, 17 Jun 2012 15:02:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/06/17/380974.html http://www.dentisthealthcenter.com/aoxj/comments/380974.html http://www.dentisthealthcenter.com/aoxj/archive/2012/06/17/380974.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/380974.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/380974.html 阅读全文 ]]> ~码最佛_?2)--推荐使用concurrent包中的Atomicc?/title> http://www.dentisthealthcenter.com/aoxj/archive/2012/06/16/380926.htmlsky ao sky ao Sat, 16 Jun 2012 09:54:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/06/16/380926.html http://www.dentisthealthcenter.com/aoxj/comments/380926.html http://www.dentisthealthcenter.com/aoxj/archive/2012/06/16/380926.html#Feedback 5 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/380926.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/380926.html 阅读全文 ]]> ~码最佛_?1)--心"数据溢出" http://www.dentisthealthcenter.com/aoxj/archive/2012/06/09/380425.htmlsky ao sky ao Sat, 09 Jun 2012 15:27:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/06/09/380425.html http://www.dentisthealthcenter.com/aoxj/comments/380425.html http://www.dentisthealthcenter.com/aoxj/archive/2012/06/09/380425.html#Feedback 2 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/380425.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/380425.html
q些问题Q单个看每个问题都不复杂或高深Q但是都是在实际目开发中出现q一度造成困扰的,而且带有一定的普适性,具体表现Z知道q些问题的同学很Ҏ在日常开发中中招。因此我们开了一个专题,叫做~码最佛_践,g名字L有点?.....
先来看看W一个,如何做compare?nbsp; 阅读全文 ]]> 解决Jetty下EL版本冲突的问?/title> http://www.dentisthealthcenter.com/aoxj/archive/2012/05/25/379086.htmlsky ao sky ao Thu, 24 May 2012 23:11:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/05/25/379086.html http://www.dentisthealthcenter.com/aoxj/comments/379086.html http://www.dentisthealthcenter.com/aoxj/archive/2012/05/25/379086.html#Feedback 2 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/379086.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/379086.html
javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
查了一下,发现javax.el.ExpressionFactory.newInstance()q个Ҏ是EL2.2版本之后才有的方法,而在EL2.1之中是没有这个方法的Q问题很明显Qorg.apache.jasper中试图调?.2版本的ELQ当时提供的EL的版本是2.1版本Q所以解决的方式无非是两个Q要不降低org.apache.jasper的版本,要不提升el的版本。考虑到现在用的jetty已经是最新的版本8.1.2.v20120308Q因此提升EL的版本ؓ2.2更ؓ合适?nbsp; 阅读全文 ]]> 解决jenkins执行sonar旉复执行两ơtest的问?/title> http://www.dentisthealthcenter.com/aoxj/archive/2012/02/14/369936.htmlsky ao sky ao Tue, 14 Feb 2012 06:53:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2012/02/14/369936.html http://www.dentisthealthcenter.com/aoxj/comments/369936.html http://www.dentisthealthcenter.com/aoxj/archive/2012/02/14/369936.html#Feedback 5 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/369936.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/369936.html 阅读全文 ]]> 搜烦maven依赖的网站推?/title> http://www.dentisthealthcenter.com/aoxj/archive/2011/12/02/365392.htmlsky ao sky ao Fri, 02 Dec 2011 08:06:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2011/12/02/365392.html http://www.dentisthealthcenter.com/aoxj/comments/365392.html http://www.dentisthealthcenter.com/aoxj/archive/2011/12/02/365392.html#Feedback 4 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/365392.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/365392.html 使用maven填写依赖的时候,怼遇到需要查一下groupId/artifactId和versionQ有时候还要看看有没有新的版本更新?nbsp; 原来一直用http://mvnrepository.com/ q个|站来搜索,最q发现maven官网也提供了cM的功能,http://search.maven.org/?nbsp; 单试用了一下search.maven.orgQ功能基本和mvnrepository.com相同Q而且界面更简z友好。推荐用?/span>
]]> cloudfoundry介绍-(1)甌试用 http://www.dentisthealthcenter.com/aoxj/archive/2011/06/11/352087.htmlsky ao sky ao Sat, 11 Jun 2011 05:52:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2011/06/11/352087.html http://www.dentisthealthcenter.com/aoxj/comments/352087.html http://www.dentisthealthcenter.com/aoxj/archive/2011/06/11/352087.html#Feedback 6 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/352087.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/352087.html 阅读全文 ]]> 解决gradle与sonar集成q程中的版本问题 http://www.dentisthealthcenter.com/aoxj/archive/2011/05/15/350269.htmlsky ao sky ao Sun, 15 May 2011 05:12:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2011/05/15/350269.html http://www.dentisthealthcenter.com/aoxj/comments/350269.html http://www.dentisthealthcenter.com/aoxj/archive/2011/05/15/350269.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/350269.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/350269.html 阅读全文 ]]> easymock教程-自定义参数匹配器 http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339423.htmlsky ao sky ao Tue, 30 Nov 2010 10:18:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339423.html http://www.dentisthealthcenter.com/aoxj/comments/339423.html http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339423.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/339423.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/339423.html 阅读全文 ]]> easymock教程-改变同一个方法调用的行ؓ http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339416.htmlsky ao sky ao Tue, 30 Nov 2010 09:06:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339416.html http://www.dentisthealthcenter.com/aoxj/comments/339416.html http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339416.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/339416.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/339416.html 阅读全文 ]]> easymock教程-q行时返回值或者异?/title> http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339410.htmlsky ao sky ao Tue, 30 Nov 2010 08:36:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339410.html http://www.dentisthealthcenter.com/aoxj/comments/339410.html http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339410.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/339410.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/339410.html
但是在某些情况下Q我们可能无法预知返回|比如我们需要根据输入的参数值来军_q回什么,而这个参数可能无法在record阶段获得。因此在mockҎ中我们无法在record阶段决定应该返回什么?
对于q种场景Qeasymock提供了IAnswer接口和andAnswer()Ҏ来提供运行时军_q回值或者异常的机制?nbsp; 阅读全文 ]]> easymock教程-partial class mocking http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339391.htmlsky ao sky ao Tue, 30 Nov 2010 06:23:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339391.html http://www.dentisthealthcenter.com/aoxj/comments/339391.html http://www.dentisthealthcenter.com/aoxj/archive/2010/11/30/339391.html#Feedback 0 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/339391.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/339391.html 阅读全文 ]]> easymock教程-参数匚w http://www.dentisthealthcenter.com/aoxj/archive/2010/11/29/339342.htmlsky ao sky ao Mon, 29 Nov 2010 10:57:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2010/11/29/339342.html http://www.dentisthealthcenter.com/aoxj/comments/339342.html http://www.dentisthealthcenter.com/aoxj/archive/2010/11/29/339342.html#Feedback 2 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/339342.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/339342.html 阅读全文 ]]> easymock教程-命名mock对象 http://www.dentisthealthcenter.com/aoxj/archive/2010/11/29/339332.htmlsky ao sky ao Mon, 29 Nov 2010 08:34:00 GMT http://www.dentisthealthcenter.com/aoxj/archive/2010/11/29/339332.html http://www.dentisthealthcenter.com/aoxj/comments/339332.html http://www.dentisthealthcenter.com/aoxj/archive/2010/11/29/339332.html#Feedback 1 http://www.dentisthealthcenter.com/aoxj/comments/commentRss/339332.html http://www.dentisthealthcenter.com/aoxj/services/trackbacks/339332.html 命名mock对象有什么好处呢Q其实就是一点,卛_当测试案例因为某个mock对象的状态或行ؓ不符合要求而失败的时候,在异怿息里面可以输个mock对象的名U?nbsp; 阅读全文 ]]> 久久一级片