SpringBoot注入Mapper提示Could not autowire. No beans of 'xxxMapper' type found错误
摘要:通过用Mabatis的逆向工程生成的Entity和Mapper。在Service层注入的时候一直提示Could not autowire. No beans of 'xxxMapper' type found 这里报错是:UserMapper是个接口。 解决办法1: 解决办法2:在Mapper加上@
阅读全文
posted @
2019-04-23 11:12
EmilZs丶
阅读(713)
推荐(0)
Apache+Tomcat+jk windows环境下的集群部署
摘要:记一次在Windows服务器上搭建apatch+tomcat+jk的集群搭建过程,其中也遇到了很多问题,总结一下。 一、准备工作 1.apache-tomcat-7.0.88 2.Apche httpd-2.4.23-x64.zip 3.tomcat-connectors-1.2.40-window
阅读全文
posted @
2019-04-22 11:07
EmilZs丶
阅读(536)
推荐(0)
HttpClient使用详解
摘要:转载自:https://www.cnblogs.com/guxiong/p/6661272.html 一、使用方法 使用HttpClient发送请求、接收响应很简单,一般需要如下几步即可。 1. 创建HttpClient对象。 2. 创建请求方法的实例,并指定请求URL。如果需要发送GET请求,创建
阅读全文
posted @
2019-04-15 09:08
EmilZs丶
阅读(444)
推荐(1)
SpringBoot访问jsp页面
摘要:今天用IDEA搭建了一下SpringBoot项目+Mybatis踩了半天的一个坑。 SpringBoot+Mybatis环境搭建好了,发现不能创建jsp页面,也不能访问jsp。默认的是访问resources目录下的templates目录。而templates下只能创建HTML文件。 如果想要能访问j
阅读全文
posted @
2019-04-12 17:04
EmilZs丶
阅读(3608)
推荐(1)