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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -