![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 59
人生百态-柳
这个作者很懒,什么都没留下…
展开
-
Iterator中hasNext(), next()的值的获取
自己犯的错误记录下,直接上代码List<String> accis=new ArrayList();List<String> recos=new ArrayList<>();recos.add("123");Iterator<String> iterator = recos.iterator();int i=0;while(iterator.hasNext()){ System.out.println("循环次数:"+(i++));原创 2021-05-07 10:33:23 · 1605 阅读 · 0 评论 -
Mac苹果系统上配置jdk环境变量
已下载安装自己配置环境变量记录下,方便以后配置。第一次配置环境变量需要创建一个.bash_profile的隐藏配置文件,命令:touch .bash_profile编辑已存在的配置文件,命令:open -e .bash_profilejdk的路径一般在:资源库/java/JavaVirtualMachines配置jdk内容:JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/HomePAT原创 2020-06-05 11:39:45 · 444 阅读 · 0 评论 -
org.springframework.web.context.ContextLoader:307项目编译后无法启动总是报错
org.springframework.web.context.ContextLoader:307 - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'computationService': Injection of autowired dependencies failed; nested exception is o原创 2020-07-06 21:55:35 · 979 阅读 · 0 评论 -
write javaBean error, class com.ekyb.ybt.person.entity.to.core.MedicalReceiptTo, fieldName : 0
今天项目中遇到Object转换Json的String报错,项目中用com.alibaba.fastjson.JSON;net.sf.json.JSON;这两个包,Object转换String总是报write javaBean error, class com.ekyb.ybt.person.entity.to.core.MedicalReceiptTo, fieldName : 0...原创 2019-10-24 16:19:55 · 1399 阅读 · 0 评论