程序代码片段为
XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource(request.getSession().getServletContext().getRealPath("") +"/WEB-INF/applicationContext.xml"));
TradeRegIntf trade = (TradeRegIntf) factory.getBean("trade");为什么报 java.io.FileNotFoundException: class path resource [E:/MyEclipse porject/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/web/WEB-INF/applicationContext.xml] cannot be opened because it does not exist该如何解决 请赐教
先谢了
XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource(request.getSession().getServletContext().getRealPath("") +"/WEB-INF/applicationContext.xml"));
TradeRegIntf trade = (TradeRegIntf) factory.getBean("trade");为什么报 java.io.FileNotFoundException: class path resource [E:/MyEclipse porject/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/web/WEB-INF/applicationContext.xml] cannot be opened because it does not exist该如何解决 请赐教
先谢了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货