为了账号安全,请及时绑定邮箱和手机立即绑定

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.imooc.ImoocApplication]; nested exception is java.io.FileNotFoundException: class path resource [calsspath:resource.properties] cannot be opened becau

https://img1.sycdn.imooc.com//5b0e48760001679c13660641.jpg

https://img1.sycdn.imooc.com//5b0e4877000110c110940580.jpg

https://img1.sycdn.imooc.com//5b0e487800012d9a13630455.jpg

https://img1.sycdn.imooc.com//5b0e487900012dd305650455.jpg

启动时候报错

找不到properties配置文件,无法被Controller所引用https://img1.sycdn.imooc.com//5b0e492f0001f8dc11150546.jpg

正在回答

1 回答

你的路径写的有问题,是classpath

1 回复 有任何疑惑可以回复我~
#1

慕粉4138489 提问者

谢谢你
2018-06-08 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.imooc.ImoocApplication]; nested exception is java.io.FileNotFoundException: class path resource [calsspath:resource.properties] cannot be opened becau

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信