為什么配置properties后找不到對應目錄的文件
使用單元測試異常:Caused by: java.io.FileNotFoundException: class path resource [classpath:mybatis-config.xml] cannot be opened because it does not exist
錯誤原因是找不到¥{mybatis_config_file}解析出的mybatis-config.xml,使用CTRL+左鍵也會提示Cannot find declaration to go to,為什么啊啊啊
截圖
2019-11-08
我的也是這個錯,請問是怎么解決的?