spring
文章平均质量分 77
湘梓521
这个作者很懒,什么都没留下…
展开
-
spring常见错误记录
spring常见错误记录原创 2017-12-03 20:04:43 · 462 阅读 · 0 评论 -
springmvc+mybatis环境搭建遇到的错误
错误信息如下:type Exception report message Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:原创 2018-01-15 12:11:21 · 868 阅读 · 0 评论 -
mongodb+spring+maven配置中包冲突问题
在搭建mongo+spring过程中遇到包冲突的问题,关于包冲突的问题一般不好解决,因为需要找到是哪些包引起了冲突,该问题中发生冲突的包是spring-expression,首先来看看因为包冲突的报错信息: [ERROR]-[org.springframework.web.context.ContextLoader] Context initialization failed java.原创 2018-01-30 18:41:35 · 730 阅读 · 0 评论 -
Spring+MongoDB+Maven环境搭建
MongoDB与Spring的环境搭建和MySQL与Spring的搭建类似,需要配置MongoDB的xml文件,MongoDB的properties配置文件,然后在Spring配置文件中导入MongoDB的xml配置文件即可。 1、首先需要在pom中添加spring-data-mongodb和mongo-java-driver的依赖,如下:<dependency> &l...原创 2018-01-26 09:52:31 · 765 阅读 · 0 评论