问答详情
源自:2-1 IOC及Bean容器

请问各位大神,我这个bug怎么解决呢

parsing XML document from class path resource [cla]; nested exception is java.io.FileNotFoundException: class path resource [cla] cannot be opened because it does not exist

提问者:chenkaifan 2018-11-15 14:40

个回答

  • 慕妹5005176
    2018-11-19 19:06:14

    普通项目将xml放在src目录下;maven项目xml放在src/main(test)/java目录下

  • 延津
    2018-11-15 17:49:35

    资源的配置文件路径有问题