原文:关于applicationContext.xml cannot be opened because it does not exist的解决

初学Spring在用Resource rs new ClassPathResource applicationContext.xml 时老是遇到这个错误。后来发现用 ApplicationContext ctx newFileSystemXmlApplicationContext WebContent WEB INF applicationContext.xml 可以解决这个问题。 仔细研究了下: ...

2013-08-06 18:09 0 15462 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM