eclipse报错:是不是applicationContext.xml位置放错了?
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:\eclipse-jee\新建文件夹\ch05\src\main\java\pointcutexample\applicationContext.xml]; nested exception is java.nio.file.NoSuchFileException: src\main\java\pointcutexample\applicationContext.xml
……
Caused by: java.nio.file.NoSuchFileException: src\main\java\pointcutexample\applicationContext.xml
一般都在resources目录下,你也可以把项目目录结构截图看下
applicationContext.xml这个文件放到在resource下面试一下.