关于项目启动报错一些新手问题

来源:互联网 发布:high water mark 算法 编辑:程序博客网 时间:2024/06/06 20:59

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

解决办法:

web.xml中classpath:和classpath*:  有什么区别? 

classpath:只会到你的class路径中查找找文件; 

classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找.

0 0