java - xml file not loaded while using ApplicationContext -
i using application context read xml file in java class.but proper xml file not loading.please me.i missing here.
p:s not throwing filenotfound error xml file not present.the line getting executed , control moves next line
applicationcontext appcontext = null; appcontext = new classpathxmlapplicationcontext("classpath*:/ayifos.xml");
applicationcontext applicationcontext = new classpathxmlapplicationcontext("ayifos.xml");
this work if ayifos.xml
file in src folder standalone application.
Comments
Post a Comment