我正在使用应用程序上下文来读取我的java类中的xml文件,但正确的xml文件没有加载。请帮助我。我在这里丢失了一些东西。使用ApplicationContext时未加载xml文件
,P:s时,也没有为XML文件,是不是才刚刚执行present.The线和控制移动到下一行抛出filenotfound错误
ApplicationContext appContext = null;
appContext = new ClassPathXmlApplicationContext("classpath*:/ayifos.xml");