[HY000][50000] General error: "java.lang.IllegalStateException: Unable to read the page at position

使用命令:mvn flyway:migrate后产生的错! :Unable to read the page at position[ x.x.xxx]表明添加的依赖版本不同  从其他博客参考之后将版本更改相同以后还是有这样的错误 后来重新将原来创建的数据库的jar包删除,添加新的jar包就行

看操作

第一步 版本相同

[HY000][50000] General error: "java.lang.IllegalStateException: Unable to read the page at position

第二步 创建数据库

[HY000][50000] General error: "java.lang.IllegalStateException: Unable to read the page at position

第三步 选择driver目录

[HY000][50000] General error: "java.lang.IllegalStateException: Unable to read the page at position

 

第四步 修改jar

[HY000][50000] General error: "java.lang.IllegalStateException: Unable to read the page at position

按照操作就可以修改了

参考链接:https://blog.csdn.net/shujuku____/article/details/104037292