javaboiii의 Error | Exception

Exception - org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource

javaboiii 2024. 10. 9. 20:30

xml을 읽고 싶은데 xml이 없어
IOException parsing XML document 이 보이면
xml이 없거나 못 읽는다는 뜻

 

<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:applicationContext.xml</param-value>
</context-param>
<listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

web.xml에 경로와 파일이름 설정