mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
fix(NestedIOException.java): 解决 mybatis-plus 3.5.1 与 Spring 6 的兼容问题
mybatis-plus 的 MybatisSqlSessionFactoryBean 中使用到了 NestedIOException 这个异常,Spring 6 开始移除了该异常。
This commit is contained in:
parent
d186a5b336
commit
a7a26afa18
@ -0,0 +1,15 @@
|
|||||||
|
package org.springframework.core;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 兼容 mybatis-plus 3.5.1
|
||||||
|
* mybatis-plus 的 MybatisSqlSessionFactoryBean 中使用到了这个异常
|
||||||
|
* Spring 6 开始移除了该异常
|
||||||
|
*
|
||||||
|
* @author xiongxiaoyang
|
||||||
|
* @date 2022/5/12
|
||||||
|
*/
|
||||||
|
public class NestedIOException extends IOException {
|
||||||
|
|
||||||
|
}
|
@ -1,13 +0,0 @@
|
|||||||
package io.github.xxyopen.novel;
|
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
|
||||||
|
|
||||||
@SpringBootTest
|
|
||||||
class NovelApplicationTests {
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void contextLoads() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user