摘要: util 包下:Date(时间) Calendar(日历) text包下:SimpleDateFormat(时间格式) 1.Date date=new Date() 2.Calendar calendar=Calendar.getInstance() //获取当前时间的日历对象 calendar.a 阅读全文
posted @ 2019-07-09 17:17 河清海晏 阅读(142) 评论(0) 推荐(0) 编辑
摘要: springboot 就是为简化spring的创建 配置 部署 运行 而创建的。 springboot 直接引入依赖jar包 就行了,无须配置xml 一 创建springboot 1.创建一个maven项目 2.引入springboot的依赖jar包 3.配置springboot的引导类 引导类不能 阅读全文
posted @ 2019-03-27 14:31 河清海晏 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 有一个警告 :** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. 原因 Application不能直接放在src/main/java下 阅读全文
posted @ 2019-03-27 13:45 河清海晏 阅读(151) 评论(0) 推荐(0) 编辑
摘要: http://wenda.haosou.com/q/1371348579062596http://blog.csdn.net/liukehua123/article/details/5482854 阅读全文
posted @ 2015-08-05 17:11 河清海晏 阅读(98) 评论(0) 推荐(0) 编辑