原文:springboot mabatis 启动报错:Factory method 'sqlSessionFactory' threw exception; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1

错误详情: 这个错误看的一脸懵,因为 java.lang.StringIndexOutOfBoundsException: String index out of range: 错误一般是因为程序中数组越界了,但是mybatis启动时,就发生数组越界 分析问题可能性: .dao层的mapper类,xml文件有问题 .配置文件问题 .包引用问题 检查了一遍,发现都没问题,数据库和mybatis的配置 ...

2020-05-14 16:14 0 11557 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM