摘要: eclipse下面创建的Maven项目,使用mybatis。eclipse里面能正常启动,在idea中一直卡在maybatis 加载位置。 1、首先是不报错也没反应。这个时候需要我们重写SqlSessionFactoryBean 让错误显示出来。 public class BeanFactory e 阅读全文
posted @ 2020-05-20 15:51 XSpringSun 阅读(1361) 评论(0) 推荐(1) 编辑
摘要: 1、修改tomcat的conf目录下 server.xml文件加上 URIEncoding="UTF-8" <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEnco 阅读全文
posted @ 2020-05-20 13:58 XSpringSun 阅读(4799) 评论(0) 推荐(0) 编辑