摘要:
注意 1.类上面需要加两个注解 2:Caused by: java.lang.IllegalStateException: SpringJUnit4ClassRunner requires JUnit 4.12 or higher.举个栗子 1 package com.qianfeng.test; 2 3 import com.qianfeng.restfull.beans.... 阅读全文
摘要:
1 2 12 13 14 15 16 17 18 19 20 21 22 23 24 25 --> 26 --> 27 28 29 ... 阅读全文
摘要:
1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE mapper 3 PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 4 "http://mybatis.org/dtd/mybatis-3-mapper. 阅读全文
摘要:
1 4 5 6 Archetype Created Web Application 7 8 9 spring 10 org.springframework.web.servlet.DispatcherServlet 11 12 contextConfigLocation 13 classpath:spring.x... 阅读全文
摘要:
1 2 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 阅读全文
摘要:
//MappingJacksonHttpMessageConverter转换器,将对象转为json响应给浏览器 : 1 2 3 4 --> 5 --> 6 7 8 ... 阅读全文