spring
CCCAAAAFFFFF
菜鸟一只,但仍想努力
展开
-
SSM框架(SpringMVC+spring+mybatis)原理
SpringMVC框架 在用户发起请求之后,DispatchServlet将截获请求并解析URL,即,去掉协议名、域名、端口号和项目名,获取其他字符串,如对于请求地址http:///127.0.0.1:8080/project/student/getStudent来说,即为获取student/getStudent。 将解析出来的URL作为key值,到handleMapping中查找所有...原创 2018-10-03 20:13:47 · 1337 阅读 · 0 评论 -
expected single matching bean but found 2: onedbJdbcTemplate,twodbJdbcTemplate
异常问题,如题,详细见下 Error creating bean with name 'monitorDao': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowi...原创 2019-08-21 13:54:07 · 1476 阅读 · 2 评论