摘要: + "解决SpringBoot不能自动注入RestTemplate" + springboot No primary or default constructor found for interface java.util.List 参数缺少注解 阅读全文
posted @ 2019-10-25 15:17 指掀涛澜 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 开发工具:idea 如果把xml中放到resource外面(这是老式的写法),比如 需要在pom.xml中配置如下内容,不然加载不到配置文件。 阅读全文
posted @ 2019-10-25 11:32 指掀涛澜 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 我出错的原因,是 applicationContext = new ClassPathXmlApplicationContext("classpath:mybatis/applicationContext.xml"); 这里面的applicationContext.xml位置没有配对。将applic 阅读全文
posted @ 2019-10-25 10:49 指掀涛澜 阅读(507) 评论(0) 推荐(0) 编辑