案例 今天项目启动时一直报异常,看了错误日志发现是shrio文件找不到引起的,异常: java.io.IOException: Resource [classpath:shiro.ini] could not be found shiro 文件所在目录: 解决方案 经过排查,文件存放目录结构并没有问题,但是target下的字节码文件目录依然是旧的存放位置,在conf/下,而不是在class目录下,因此可以知道这异常肯定是编译问题,把target目录整个删除,重新编译即可…
java.io.IOException: Could not find resource com/xxx/xxxMapper.xml 报错内容: org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession. ### The error may exist in com/courage/mybatis/mapper/PersonMapper.xml ### Cause: org.apache.ib…