原文:IDEA启动项目报错:Caused by: java.io.FileNotFoundException: class path resource [.properties] cannot be opened because it does not exist

IDEA启动项目报错 Caused by: java.io.FileNotFoundException: class path resource .properties cannot be opened because it does not exist 解决方法: .检查文件的路径是否正确,命名是否一致,是否存在该文件。 .检查Target的classes文件夹下是否有这个文件,把缺失的prop ...

2022-01-24 21:29 0 3365 推荐指数:

查看详情

解决 java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist

前几天好好运行的web项目突然跑不起来了 报这个错误 很显然,是找不到配置文件。 1、先考虑recourse目录下的配置文件路径是否正确。   点击文件名可以跳转,排除这个原因。 2、检查生成的target/classes 文件下是否有配置文件。   这是输出目录的主体 ...

Tue Sep 17 04:30:00 CST 2019 0 2387
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM