随笔分类 -  spring mvc

摘要:1.报Error creating bean with name 'dataSource' defined in class path resource 报错解决办法 解决方法: https://www.cnblogs.com/shifu8005/p/9873271.html 阅读全文
posted @ 2019-07-19 10:29 M兔 阅读(157) 评论(0) 推荐(0)
摘要:1.pom.xml中加入 2.单元测试基本类 注解说明:1)@RunWith:用于指定junit运行环境,是junit提供给其他框架测试环境接口扩展,为了便于使用spring的依赖注入,spring提供了org.springframework.test.context.junit4.SpringJU 阅读全文
posted @ 2018-07-11 10:27 M兔 阅读(18222) 评论(0) 推荐(0)
摘要:1.maven pom文件样例(包基本spring mvc依赖包) 阅读全文
posted @ 2018-06-08 23:02 M兔 阅读(183) 评论(0) 推荐(0)
摘要:1. web.mxl配置 2.spring-servlet.xml配置 3. spring-context.xml配置 加载配置文件 阅读全文
posted @ 2018-06-08 14:13 M兔 阅读(508) 评论(0) 推荐(0)
摘要:1. Spring MVC No converter found for return value of type 解决方法 改原因是解析不了response的java对象 解决方案参见: https://blog.csdn.net/qq_26115733/article/details/70666 阅读全文
posted @ 2018-06-06 19:00 M兔 阅读(139) 评论(0) 推荐(0)