摘要: 1.xml文件报错:“The prefix "context" for element "context:property-placeholder" is not bound. ” 报错行数内容 <context:property-placeholder location="classpath:mo 阅读全文
posted @ 2017-11-06 21:50 longtengdama 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1.web项目首先回去读取web.xml. web.xml中有如下配置 <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:/spring-context*.xml</param 阅读全文
posted @ 2017-11-06 17:59 longtengdama 阅读(157) 评论(0) 推荐(0) 编辑
摘要: db.businessLog.aggregate([{$group:{_id:"$createDatetime",totalsum:{$sum:1}}}]),分组查询 db.businessLog.aggregate([{$group:{_id:{year:{$year:'$createDateti 阅读全文
posted @ 2017-11-06 15:10 longtengdama 阅读(95) 评论(0) 推荐(0) 编辑