Javatpoint Logo

Spring beans xml exception

By: nikhil*** On: Tue Nov 14 22:11:36 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
Sir,

I am trying to make my first bean in Spring but got a problem with loading a context. I have a configuration XML file of the bean in src/main/resources.

I receive the following IOException:

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [src/main/resources/beans.xml]; nested exception is

java.io.FileNotFoundException: class path resource [src/main/resources/beans.xml] cannot be opened because it does not exist

what we do sir?????
Up0Down