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

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路径)进行查找.

猜你喜欢

转载自blog.csdn.net/charles_s/article/details/46822023