mybatis3.3.0和mybatis3.3.1中的org.apache.ibatis.io.DefaultVFS中的logger的参数错误
private static final Log log = LogFactory.getLog(ResolverUtil.class);
应该是
private static final Log log = LogFactory.getLog(DefaultVFS.class);
这个bug在3.4.2中已经修复
=============================
出现这个问题的原因是logback记日志的时候乱码
ResolverUtil - Not a JAR: file:。。。。。。
ResolverUtil - Reader entry: ����
结果在ResolverUtil中根本找不到logger,后来用search and replace搜索jar包才找到这个bug,晕死
乱码的问题还是没解决,看了DefaultVFS的源码,应该是
/*
* Some servlet containers allow reading from directory resources like a
* text file, listing the child resources one per line. However, there is no
* way to differentiate between directory and file resources just by reading
* them. To work around that, as each line is read, try to look it up via
* the class loader as a child of the current resource. If any line fails
* then we assume the current resource is not a directory.
*/
is = url.openStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
List<String> lines = new ArrayList<String>();
for (String line; (line = reader.readLine()) != null;) {
if (log.isDebugEnabled()) {
log.debug("Reader entry: " + line);
}
lines.add(line);
if (getResources(path + "/" + line).isEmpty()) {
lines.clear();
break;
}
}
中的InputStreamReader没有传第二个参数导致
分享到:
相关推荐
个人博客系统(SpringBoot+Mybatis).zip个人博客系统(SpringBoot+Mybatis).zip个人博客系统(SpringBoot+Mybatis).zip个人博客系统(SpringBoot+Mybatis).zip个人博客系统(SpringBoot+Mybatis).zip个人博客...
中秋博饼游戏(Swing+Spring+MyBatis).zip中秋博饼游戏(Swing+Spring+MyBatis).zip 中秋博饼游戏(Swing+Spring+MyBatis).zip中秋博饼游戏(Swing+Spring+MyBatis).zip 中秋博饼游戏(Swing+Spring+MyBatis).zip中秋博饼...
简易的中秋博饼游戏(Swing+Spring+MyBatis).zip 简易的中秋博饼游戏(Swing+Spring+MyBatis).zip 简易的中秋博饼游戏(Swing+Spring+MyBatis).zip 简易的中秋博饼游戏(Swing+Spring+MyBatis).zip 简易的中秋博饼游戏...
myBatis3.2.2.jar
mybatisGenerator.rar mybatis自动生成
springboot mybatis mapper.xml 配置,里面包含了新增,修改,删除,查询,分页查询例子以及通过 网页访问的例子
mybatis 3.x源码深度解析与最佳实践.html
PORTAL协议的服务端程序,Java编写,开源。 支持华为 H3C 锐捷 爱快 等设备,支持标准Portal...框架: SpringMVC + Spring + Mybatis + Shiro + Ehcache + druid + jersey + quartz + freemarker + jxl + ajax + Json
eclipse mybatis.generator.eclipse.site- 插件eclipse mybatis.generator.eclipse.site- 插件
myBatis 资源下载 mybatis3.3.1的jar包 支持批量插入并返回主键 mybatis3.3.0 mybatis3.4.0 mybatis3.5.0
该jar包为最新的适配mybatis3.2.X及以上的版本。同时向下兼容mybatis的版本。mybatis整合spring jar包 mybatis-spring-1.2.3.jar
-3.2.8.jar+cglib-2.2.jar+asm-3.3.jar,加我有资源哦
free-idea-mybatis2020.9.15
把下载的jar包放在 Maven仓库的 org\mybatis\generator\mybatis-generator-core\1.3.5 下面即可,然后在generatorConfig配置文件中加上<plugin type="org.mybatis.generator.plugins.LombokPlugin" > </plugin> ...
MyBatis 可以通过简单的 XML 或注解来配置和映射原始类型、接口和 Java POJO(Plain Old Java Objects,普通老式 Java 对象)为数据库中的记录。 压缩包内容: mybatis-3.5.7.zip mybatis-3-mybatis-3.5.7.zip ...
自己用
Spring4.2Mybatis3.3Spring4.2所需架包以及文件上传下载,Excel上传 下载所需架包
如果是eclipse工具,直接生成的,则替换:plugins/org.mybatis.generator.core_1.3.2*****.jar,如果是其他方式则直接替换掉官方的mybatis-generator-core1.3.2.jar即可
mybatis3.3中文操作手册,从官方网站直接复制下来的
MYBatis总结.docx MYBatis总结.docx